micropython/tests
Damien George 41f768f3f3 tests: Add a suite of tests specifically for the pyboard.
In tests/pyb is now a suite of tests that tests the pyb module on the
pyboard.  They include expected output files because we can't run
CPython on the pyboard to compare against.

run-tests script has now been updated to allow pyboard tests to be run.
Just pass the option --pyboard.  This runs all basic, float and pyb
tests.  Note that float/math-fun.py currently fails because not all math
functions are implemented in stmhal/.
2014-05-03 16:43:27 +01:00
..
basics tests: Add testcases for catching user Exception subclasses. 2014-05-02 02:31:30 +03:00
bytecode fix README to match contents of run-tests 2014-04-16 20:14:38 +01:00
float Fix the builtin min() and max() functions (and add tests). 2014-05-01 21:21:43 +01:00
import tests: Move gen_context to import tests, because it relies on import. 2014-04-17 23:21:52 +01:00
io modio: Implement io.StringIO class. 2014-04-26 20:26:14 +03:00
misc tests: Make rge-sm.py use less memory (integration step increased). 2014-04-04 11:15:54 +00:00
pyb tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
README tests: Split out those tests requiring float and import. 2014-04-17 16:21:43 +01:00
pyboard.py tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
run-tests tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00

README

This directory contains tests for various functionality areas of MicroPython.
To run all stable tests, run "run-tests" script in this directory. Note
that bytecode tests are not yet stable and should be run separately in
"bytecode" subdirectory.

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.