This adds support for running specific test files from the command line. Similar to jest (see docs) it allows the user to specify any strings that appear in the file path, and we'll find files that match or partially match those strings.
Maybe this handles #32? At least, it partially does -- it doesn't filter by suite or test names, but rather by file names.
Change summary
This adds support for running specific test files from the command line. Similar to
jest
(see docs) it allows the user to specify any strings that appear in the file path, and we'll find files that match or partially match those strings.Maybe this handles #32? At least, it partially does -- it doesn't filter by suite or test names, but rather by file names.
For example, consider this file structure:
With the command:
roca foo
, we'd end up testing:With the command
roca bar
orroca bar.test.brs
we'd end up testing:For more examples, check the test cases I added!