1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/turo
2021-11-16 08:37:45 +01:00
..
tests tests/turo: reset before opening terminal 2021-06-17 11:05:00 +02:00
app.config.test tests/turo: Remove OUTPUT_FORMAT and use default 2021-11-16 08:37:45 +01:00
main.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Makefile tests/turo: Remove OUTPUT_FORMAT and use default 2021-11-16 08:37:45 +01:00
README.md tests/turo: Add automated turo test for json 2021-03-15 10:36:46 +01:00

TURO (Test Utils Result Output) Test

This shows a non-trival example of how to use the TURO module as a testing abstraction layer.

The test is written with only TURO commands allowing the underling output to be changed as needed depending on the interpreter. This means that the test will not need to be changed if output is changed. If the test results are output as json and the binary is too large, the TURO can be switched to CBOR to save space. The interpreter should also switch to a CBOR parser and the test should not need to be changed.

This should keep tests more stable, which is particularly useful for automated tests.