-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocha support (server) #10
Comments
Existing projects such as grunt-mocha-test can be used as reference. |
We only copy the source files of a project to a different location to run the tests. This can cause issues when files are linked to each other using |
Wow! Nice find. This is indeed a problem. The way i see it: we have 2 possibilities
The second solution is safest but comes with a performance overhead. The first solution is very error prone. For example:
I would go for the second solution for now, as it is safer. We can later change it if we want to optimize for performance. |
* feat(read-karma-config): Use karma configuration Use karma configuration if the `karmaConfigFile` is present. * Use karma's `files` to fill files in stryker * Use karma's `exclude` to fill files in stryker prefixed with a `!`. * Fill other karma settings (preprocessors, base path etc) in `karmaConfig` stryker option. This is later used in the test runner. * Set test runner to `karma` if not already set. * feat(read-karma-config): Use karma configuration Forgot to push utils file * feat(read-karma-config): Force typescript version * fix(deps): Update stryker-api version * feat(config-writer): Never set test runner name Never set the test runner name to 'karma' as it could lead to strange behavior.
* feat(read-karma-config): Use karma configuration Use karma configuration if the `karmaConfigFile` is present. * Use karma's `files` to fill files in stryker * Use karma's `exclude` to fill files in stryker prefixed with a `!`. * Fill other karma settings (preprocessors, base path etc) in `karmaConfig` stryker option. This is later used in the test runner. * Set test runner to `karma` if not already set. * feat(read-karma-config): Use karma configuration Forgot to push utils file * feat(read-karma-config): Force typescript version * fix(deps): Update stryker-api version * feat(config-writer): Never set test runner name Never set the test runner name to 'karma' as it could lead to strange behavior.
* Print location of HTML report file when done (#10)
* Print location of HTML report file when done (#10)
Server sided Mocha tests are not yet supported by stryker. See #11 for browser based Mocha test support.
The text was updated successfully, but these errors were encountered: