-
Notifications
You must be signed in to change notification settings - Fork 251
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
Make stryker config file mandatory #390
Comments
Hi there :-), got here by the hacktoberfest label and I'd like to fix this. However, I suggest a slightly different behavior. Either we have a config file specified or not. If we have one - great, use it! If we don't - let's try What do you think? |
Hi @Be-ngt-oH 😄 Great idea, let's do that. |
Hi @Be-ngt-oH Glad to hear that the tag is working! If you need any more info, feel free to ask for it :) Happy hacking! |
Change ConfigReader behavior to always use stryker.conf.js if present. CLI options override options from the file. Run does not fail anymore if a CLI option, but no config file is specified. closes stryker-mutator#390
Use the stryker.conf.js file in the current working directory, if one is present. Display 'Use `stryker init` command to generate your config file.' when stryker is run without a config file. Closes #390
To make sure I understand correctly, is this request removing the ability to directly define a grunt task in Gruntfile.js that has all the config settings in it? example...
|
Well, it might have if @Be-ngt-oH didn't step in and did his suggestion. So your example should still work |
Running stryker with command line options won't read a stryker.conf.js file. This results in unexpacted behavior, for example:
I think it would be more useful to always require a stryker.conf.js file to be specified.
The text was updated successfully, but these errors were encountered: