Describe the bug
The wheels test command does not appear to respect the --filter or --db flags.
Even when specifying a filter directory or a database engine, the test runner:
- Executes all tests instead of filtered tests
- Continues using SQLite regardless of the provided
--db value
To Reproduce
Steps to reproduce the behavior:
- Create test suites in multiple directories:
models/PostSpec.cfc
controllers/PostsControllerSpec.cfc
functional/ExampleSpec.cfc
- Run:
wheels test --filter=models
- Observe that all tests execute instead of only model tests
- Run:
wheels test --filter=models --db=mysql
- Observe that:
- all tests still execute
- runner still reports SQLite
Actual output
Running app tests (sqlite)...
3 passed (0.02s)
This occurs even when --db=mysql is explicitly provided.
Expected behavior
--filter
The following command:
wheels test --filter=models
should only execute tests matching the models directory.
Expected example:
Running app tests (sqlite)...
models.PostSpec
1 passed
--db
The following command:
should:
- run tests against MySQL
- report MySQL in output
- Initialize the selected database engine appropriately
Expected example:
Running app tests (mysql)...
Actual behavior
- --filter is ignored
- --db is ignored
- All tests execute regardless of filter
- SQLite is always used
Screenshots

Desktop
Describe the bug
The
wheels testcommand does not appear to respect the--filteror--dbflags.Even when specifying a filter directory or a database engine, the test runner:
--dbvalueTo Reproduce
Steps to reproduce the behavior:
models/PostSpec.cfccontrollers/PostsControllerSpec.cfcfunctional/ExampleSpec.cfcActual output
This occurs even when --db=mysql is explicitly provided.
Expected behavior
--filter
The following command:
should only execute tests matching the models directory.
Expected example:
--db
The following command:
should:
Expected example:
Actual behavior
Screenshots

Desktop