mutate: view results based on a subset of the tests #1132
Open
Description
The user would like to see the mutation testing result from a specified set of tests, so that he/she can:
- Verify tracing from software requirements -> test name -> covered source code.
- Verify integration testing adequacy (data-flow and control flow) from high-level black-box tests.
Example:
- All tests that match the test name:
'test_suite.req_880.check_out_of_range'
or'test_suite.hlr_black_box_tests.*'
Suggestions
Approach 1: Using dextool mutate admin removeTestCase
cp my_mutation_db.sqlite3 my_mutation_db.sqlite3.bak
dextool mutate admin --operation removeTestCase --invert-match -e 'test_suite.foo*' -e 'test_suite.bar*'
dextool mutate report --style html --mutant lcr --mutant lcrb --mutant sdl
Approach 2: Using dextool mutate report
dextool mutate report --style html --mutant lcr --mutant sdl --testData 'test_suite.foo*' --testData 'test_suite.bar*'
Approach 3: Using the web gui
Add a box-item to activate/deactive contributions from a specific test.