micropython/tests
Peter Hinch 468c6f9da1 extmod/modframebuf: Make monochrome bitmap formats start with MONO_.
MONO_xxx is much easier to read if you're not familiar with the code.
MVLSB is deprecated but kept for backwards compatibility, for the time
being.

This patch also updates the associated docs and tests.
2017-04-04 17:38:33 +10:00
..
basics tests/basics: Add tests for list and bytearray growing using themselves. 2017-04-02 17:31:32 +10:00
bench
cmdline
cpydiff
extmod extmod/modframebuf: Make monochrome bitmap formats start with MONO_. 2017-04-04 17:38:33 +10:00
feature_check run-tests: Add feature check for "const" keyword and skip related tests. 2017-04-02 22:52:18 +03:00
float tests/float: Add tests for hashing float and complex numbers. 2017-04-04 12:14:34 +10:00
import
inlineasm
io
jni
micropython tests/micropython/heapalloc_iter: Improve skippability. 2017-04-03 00:27:01 +03:00
misc tests/misc/: Make few tests skippable. 2017-03-11 01:17:02 +01:00
pyb
pybnative
stress
thread
unicode
unix unix/coverage: Enable scheduler and add tests for it. 2017-03-20 15:20:26 +11:00
wipy
README
pyboard.py
run-bench-tests
run-tests tests/run-tests: Update names of tests that may need skipping. 2017-04-04 12:26:43 +10:00
run-tests-exp.py
run-tests-exp.sh

README

This directory contains tests for various functionality areas of MicroPython.
To run all stable tests, run "run-tests" script in this directory.

Tests of capabilities not supported on all platforms should be written
to check for the capability being present. If it is not, the test
should merely output 'SKIP' followed by the line terminator, and call
sys.exit() to raise SystemExit, instead of attempting to test the
missing capability. The testing framework (run-tests in this
directory, test_main.c in qemu_arm) recognizes this as a skipped test.

There are a few features for which this mechanism cannot be used to
condition a test. The run-tests script uses small scripts in the
feature_check directory to check whether each such feature is present,
and skips the relevant tests if not.

When creating new tests, anything that relies on float support should go in the 
float/ subdirectory.  Anything that relies on import x, where x is not a built-in
module, should go in the import/ subdirectory.