GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Writing Docs
  • Testing

This view

  • Original page
  • New address

GeezerVison is showing makecode.com — Testing

Skip to main content
About MakeCode Blog Online Learning Contact Us Tools
Technical Docs
JS Editor Features Programming Language Async Functions Partial Flashing Source Embedding Updating Blockly Version Accessibility Profiling Debugging Hardware
Creating Targets
pxtarget.json Defining Blocks Auto-generation of .d.ts Static File Drops Simulator Theming Editor Embedding resources
Creating Extensions
Getting started pxt.json Extension versioning Extension localization Extension approval Editor extensions GitHub Extension Authoring
Writing Docs
Macros Anchors Tutorials User Tutorials Skillmaps Routing Licensing Testing
Translations
Translation languages Localization files Parts to translate Translating markdown Translator roles In context translation
Blocks Embedding
Command Line Interface
install build bump deploy console gdb staticpkg update pyconv hidserial hiddmesg login
Labs UF2 File Format Accessibility Telemetry

Testing

Automated testing

Run pxt checkdocs --snippets in the project's root directory. This will automatically check both the validity of referring links in your docs and that all code snippets in your documentation can be compiled. It checks to see that no typescript features that can't be represented as blocks are used in any block snippets.

If you use additional dependencies, make sure you reference them (see Anchors).

To exclude a snippet from being checked, add -ignore after the snippet type (see Macros).

Tutorial testing

The gulp testtutorials command will parse and run the tutorial test cases, and validate against the baselines. Baselines will be automatically generated and stored in the cases folder, if they are not present.

gulp testtutorials

Edit this page on GitHub
Edit template of this page on GitHub

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.