-
Notifications
You must be signed in to change notification settings - Fork 35
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
Configuration key 'test-runner' is not picked up by command-runner #718
Comments
I can have a look but some guidance would be helpful. |
Yes! The issue comes from reading config twice into two different case classes. Stryker4s reads the user The first config reading in core has validation that checks if the config doesn't contain unused keys that could be misconfiguration. Because the command-runner config is in a separate case class it's recognized as an unused key for the core The proper fix for this I think is to only read the config once into a single case class in Out of scope for any fix, but this would be useful for the other modules, too! There's configuration in the core config case class that only applies to the sbt plugin config and I can imagine the Maven plugin could get that in the future as well. Also, if you're at it. Please rename ProcessRunnerConfig to CommandRunnerConfig! There's too many Runner configs haha. |
On a related note: How do we change the (1): Keep in mind it's not necessarily a single task - I might need to set it to something like |
@cbrunnkvist All test information is now gathered from the |
Any update on this fix? Or any work around? |
@aishfenton Could you expand on what you are running into? For the the command-runner, you can ignore the log warning as it is still picked up |
Relates to: #36
Summary
Trying to run stryker4s using command-runner fails because it does not pick up the
test-runner
configuration key and hence doesn't run the Gradle tests.Running with coursier:
Stryker4s config
Stryker4s environment
Also happens with stryker4s 0.10.1.
Your Environment
The text was updated successfully, but these errors were encountered: