Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.
This repository was archived by the owner on May 11, 2021. It is now read-only.

framework for automated regression tests #4

@paurea

Description

@paurea

It would be interesting to create a framework for automated tests in the command line. There are three components needed for this:

  1. EHAL: an emulated HAL, with fake sensors which get their output from a file with measurements.
  2. 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
  3. 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.
  4. 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.
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions