1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/turo
2024-03-26 14:53:35 +01:00
..
tests tests/turo: reset before opening terminal 2021-06-17 11:05:00 +02:00
main.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Makefile tests: don't manually select native term 2023-12-23 20:27:47 +01:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02: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.