micropython-samples/uasyncio_iostream/tests
Peter Hinch ee1dd76bdc Tests: tidy up printbuf(). 2018-06-11 08:21:55 +01:00
..
README.md Add iotest5: unbuffered read and write. 2018-06-10 12:15:57 +01:00
aswitch.py Add temporary dir uasyncio_iostream. 2018-06-10 11:24:08 +01:00
auart.py Add temporary dir uasyncio_iostream. 2018-06-10 11:24:08 +01:00
auart_hd.py Add temporary dir uasyncio_iostream. 2018-06-10 11:24:08 +01:00
iotest.py Add iotest5: unbuffered read and write. 2018-06-10 12:15:57 +01:00
iotest1.py Tests: tidy up printbuf(). 2018-06-11 08:21:55 +01:00
iotest2.py Tests: tidy up printbuf(). 2018-06-11 08:21:55 +01:00
iotest3.py Tests: tidy up printbuf(). 2018-06-11 08:21:55 +01:00
iotest4.py Tests: tidy up printbuf(). 2018-06-11 08:21:55 +01:00
iotest5.py Tests: tidy up printbuf(). 2018-06-11 08:21:55 +01:00

README.md

Tests for uasyncio iostream read/write changes

These tests perform concurrent input and output and use timers to emulate read/write hardware.
iotest1.py Device can perform unbuffered writes only.
iotest2.py Device performs buffered writes and unbuffered reads.
iotest4.py Run test(False) for unbuffered writes and buffered reads.
iotest5.py Unbuffered read and write.

Obsolete test:
iotest3.py Demonstrated workround for failing concurrent I/O using separate input and output objects.

Other tests:
iotest.py Measure timing of I/O scheduling with a scope.
auart.py Run a loopback test on a physical UART.
auart_hd.py Simulate a pair of devices running a half-duplex protocol over a pair of UARTs.