Skip to content
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

feat: add argument --dryRunOnly to only run initial tests #3814

Conversation

florisg-infosupport
Copy link
Contributor

This is to provide a better option to check if the Stryker configuration is correct.
Prevent rollbacks, as a dry-run takes less time than a full test run.
closes: #3088

This is to provide a better option to check if the Stryker configuration is correct.
Prevent rollbacks, as dry-runs take less time than a full test run.
Copy link
Member

@nicojs nicojs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just some small remarks.

packages/core/src/stryker-cli.ts Outdated Show resolved Hide resolved
packages/core/src/stryker-cli.ts Outdated Show resolved Hide resolved
packages/core/src/stryker.ts Outdated Show resolved Hide resolved
packages/core/src/stryker.ts Outdated Show resolved Hide resolved
docs/configuration.md Outdated Show resolved Hide resolved
The dryRunOnly name better indicates that normally dryRun is normally always run.
@florisg-infosupport florisg-infosupport changed the title feat: add argument --dry-run to only run initial tests feat: add argument --dryRunOnly to only run initial tests Oct 28, 2022
packages/core/src/process/3-dry-run-executor.ts Outdated Show resolved Hide resolved
packages/core/src/stryker-cli.ts Outdated Show resolved Hide resolved
docs/configuration.md Outdated Show resolved Hide resolved
packages/api/schema/stryker-core.json Outdated Show resolved Hide resolved
…unctionality

Co-authored-by: Nico Jansen <jansennico@gmail.com>
This prevents the scenario from happening that the mutations are short circuited because of empty mutations.
@nicojs nicojs enabled auto-merge (squash) October 29, 2022 07:10
@nicojs nicojs disabled auto-merge October 29, 2022 07:10
@nicojs nicojs enabled auto-merge (squash) October 29, 2022 07:12
@nicojs nicojs merged commit f2cf7e6 into stryker-mutator:master Oct 29, 2022
@florisg-infosupport florisg-infosupport deleted the feature/3088-add-dryrun-support branch October 29, 2022 08:13
@nicojs
Copy link
Member

nicojs commented Oct 30, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support only run the initial test run (dry run)
2 participants