ee6bf82·Author: Joseph Parker·Closed by: David Dickinson·2019-03-16
Description
This is a rough-but-functional implementation of pfunit testing, shared for discussion. There is currently a test for one module, antenna_data, which can be run by building the target
make pfunit_tests USE_PFUNIT=on
This also supports coverage tracking of unit tests, by building
make pfunit_coverage USE_PFUNIT=on USE_GCOV=on
Â
The planned workflow is to get the pfunit structure agreed and implemented in this PR. Then people can add unit tests separately later. We’ll also do CI in a separate PR.
This is a rough-but-functional implementation of pfunit testing, shared for discussion. There is currently a test for one module,
antenna_data
, which can be run by building the targetmake pfunit_tests USE_PFUNIT=on
This also supports coverage tracking of unit tests, by building
make pfunit_coverage USE_PFUNIT=on USE_GCOV=on
Â
The planned workflow is to get the pfunit structure agreed and implemented in this PR. Then people can add unit tests separately later. We’ll also do CI in a separate PR.