Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upREADME update please #21
Comments
|
I worked out what was going wrong for me - I was using ES6 syntax in my tests/index.html so the override wasn't being included as expected when running on the command line. It seems that tests/index.html is the correct place to override TestLoader. The README could still use an update, overriding shouldLoadModule alone doesn't seem to work correctly, even in the browser. It looks like the correct approach is to require either addModuleExcludeMatcher or addModuleIncludeMatcher and define a function which takes a moduleName and returns whether or not to include/exclude that module. |
|
+1 I would like to exclude |
I'm struggling to only run certain tests since upgrading to version 0.2.1. I've had some success when running tests in the browser by overriding loadModules or adding an include matcher function but this doesn't seem to work when running on the command line.
I see the README hasn't been updated for a year but the implementation was updated a couple of months ago - any chance you could please update the README or let me know the correct approach and I'll update it and add a PR? Is there a place other than tests/index.html in my ember-cli project that I should be defining the override or adding that matcher function for the inclusion/exclusion to run on the command line?
Thanks!