His I have a large page I want to break up into mulitple my-test.js
files in the same folder. when I do this and run ember test --filter "my-test-folder" --server
it runs and lists both files in the test runner, but passes my tests regardless. How do I achieve this functionality? The important part is being able to run all the tests in the folder in --server
mode.
I don’t think the filter
switch considers file paths, it only matches test and module names. So one way to run all the tests in a specific folder is to have a common name in their module description and pass that to --filter
.
1 Like
Thanks for the tip! I wound up simply refactoring the template by breaking it up into several components and writing integration tests for each.