Meteor-Community-Packages / meteor-mocha

A Mocha test driver package for Meteor 1.3+. This package reports server AND client test results in the server console and can be used for running tests on a CI server or locally.
https://packosphere.com/meteortesting/mocha
MIT License
67 stars 40 forks source link

Exclude files #89

Closed mexin closed 5 years ago

mexin commented 5 years ago

Im trying to exclude some files but cannot find a way to completely avoid them, is there any special configuration that needs to be added?

Thanks in advance!

SimonSimCity commented 5 years ago

In this package can only control which tests are executed, regulated by the following options:

https://github.com/meteortesting/meteor-mocha/tree/e5e0f3c91c78ec0a079a6d948291be40b0bbb5ff#run-tests-inclusively-grep-or-exclusively-invert

If you want to control which files are loaded, please check https://guide.meteor.com/testing.html#test-modes and additionally scan the changelog (https://docs.meteor.com/changelog.html) for the term testModule. The latter option should be better linked throughout the rest of the meteor guide, if you ask me.