You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 11, 2021. It is now read-only.
It would be interesting to create a framework for automated tests in the command line. There are three components needed for this:
EHAL: an emulated HAL, with fake sensors which get their output from a file with measurements.
A standard way to add new tests with their right output (regular output and errors if there should be any). For example, a directory tests where every test_zzz*.py file is a test and zzz.okout file are the right output (maybe errors separated from console outputs) and
sensorY_zzz.input files
A shell script (or Python) which for each tests runs it and compares the output with okout and
prints an error if they are different.
A good set of tests which works out the supported language one feature at a time. This is already started, but more need to be added.
When this is working, issues w.r.t. the translator can be accompanied with a test .py, inputs and maybe an expected output.
I'll get on this as soon as I can. If anyone else starts with this, keep me in the loop.
It would be interesting to create a framework for automated tests in the command line. There are three components needed for this:
sensorY_zzz.input files
prints an error if they are different.
I'll get on this as soon as I can. If anyone else starts with this, keep me in the loop.