Open hschaeufler opened 1 week ago
For those who are interested. I have found a workaround. I write the following with the widget to test in a cfg.xml:
<?xml version="1.0" encoding="UTF-8"?>
Than I run the test with the following command: dart run mutation_test /path/to/widget.dart --rules tmp.cfg.xml --builtin --format none
Is it possible to specify the test to be executed directly in the command? I would like to execute only the unit test associated with the specified code file. For Example:
dart run mutation_test lib/code_file.dart -test lib/code_file_test.dart