Skip to content

Unit Tests

Michael Moese edited this page Jun 4, 2020 · 1 revision

The baremetal_support comes with a comprehensive suite of unit tests. Every new feature must include test cases to verify the functionality.

Running the tests

Running the unit tests is easy. make test You get a coverage report, this should show 100% coverage. If you want to see more information, just run coverage html and open the report in your browser.

Please note: some tests require a working internet connection, for example when they need to test connection to an openQA instance. In this case, those tests will have to be skipped, otherwise, this will break package generation.

Clone this wiki locally