-
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
Implementation of mutation levels #4686
base: master
Are you sure you want to change the base?
Commits on Oct 21, 2023
-
Merge pull request #11 from stryker-mutator/master
Update dependencies from upstream
Configuration menu - View commit details
-
Copy full SHA for b039851 - Browse repository at this point
Copy the full SHA b039851View commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dfe19e2 - Browse repository at this point
Copy the full SHA dfe19e2View commit details -
Base structure for selecting operators individually (#14)
* Added project to test on * Add level to the config and read it from code * Move the debugging to the test project * Add mutation levels CLI argument, fix lint * Move testing-project back outside packages folder * Check if pipeline is fixed * Remove last change, there is something wrong with the pipeline environment * Modify mutation levels config file to reflect the submutators * Update meta config such that types are generated instead of strings * Add back comment inside instrumenter launch file * Trigger e2e and incremental_mutation_test workflows only on `master` push --------- Co-authored-by: luctia <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87c8be4 - Browse repository at this point
Copy the full SHA 87c8be4View commit details
Commits on Nov 21, 2023
-
#18 restrict arraydeclaration mutator (#40)
* Changed configuration file for testing purposes * small updates in the lock file of package.json * Adaptation of the NodeMutator * Added check to only run desired suboperators * changed file to only run desired operators and pass its suboperators * Modified ArrayDeclaration tests according to modifications * Linting * Make modfications to the tests. * Linting * changed the acceptation of undefined as well * Linting * process feedback PR * Unstable * Added new suboperators for ArrayDeclaration * Adapted the suboperators implementation accordingly * Solved issues with undefined * changed tests * just a different config file * changed codebase for testing purposes * cleaned up file * cleanup * processed feedback * last feedback processed
Configuration menu - View commit details
-
Copy full SHA for 9ec5d92 - Browse repository at this point
Copy the full SHA 9ec5d92View commit details
Commits on Nov 22, 2023
-
#23 restrict equalityoperator mutator (#41)
* ArithmeticOp: pass the whole level * Add min size to level arrays and mandatory name * Move arithmetic ops to map * Add test for arithmetic operator * Restrict EqualityOperator Observed mutation score (equality-operator-mutator.ts): 85.71% * Formatting fixes * Formatting fixes and removed dead code * Update arithmetic-operator-mutator.ts and equality-operator-mutator.ts to comply with the changes to node-mutator.ts. Coded it such that `undefined` results in allowing everything since otherwise setting no MutationLevel results in blocking every mutator. --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Ivo_Broekhof <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9fbcf6 - Browse repository at this point
Copy the full SHA f9fbcf6View commit details
Commits on Nov 24, 2023
-
* WIP Mutation level support for BooleanLiterals * Fix prettier * Tests * Pleased linter * Fixed typo * Added tests for edge cases
Configuration menu - View commit details
-
Copy full SHA for e4830b4 - Browse repository at this point
Copy the full SHA e4830b4View commit details -
* WIP support for assignmentoperator * Added assignmentoperator in definitions * Added tests for edge cases * Added comments about what's being mutated * Resolved merge conflict?
Configuration menu - View commit details
-
Copy full SHA for b152138 - Browse repository at this point
Copy the full SHA b152138View commit details
Commits on Nov 26, 2023
-
Add restriction for string literals (#43)
Co-authored-by: Ivo Broekhof <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d8db03 - Browse repository at this point
Copy the full SHA 4d8db03View commit details -
Restrict optional chaining mutator (#45)
Co-authored-by: Ivo Broekhof <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a7c317 - Browse repository at this point
Copy the full SHA 5a7c317View commit details
Commits on Dec 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9f9d0c7 - Browse repository at this point
Copy the full SHA 9f9d0c7View commit details -
* solution to read a json file which contains levels * implementation of reading json object * read config * Refactor default levels location * make method private again --------- Co-authored-by: Javier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 240614c - Browse repository at this point
Copy the full SHA 240614cView commit details
Commits on Dec 5, 2023
-
Restricted logical-operator-mutator.ts (#57)
* Restricted logical-operator-mutator.ts * Pleased linter now --------- Co-authored-by: Ivo_Broekhof <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b7d9a2 - Browse repository at this point
Copy the full SHA 6b7d9a2View commit details -
#22 restrict conditionalexpression mutator (#55)
* Added an extra suboperator * changed implementation of suboperator * tests for conditional operator for mutationLevel * combined config file * moved order of yielding * modified tests properly --------- Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b91605f - Browse repository at this point
Copy the full SHA b91605fView commit details -
25 restrict methodexpression mutator (#54)
* integrated MutationLevel into method-expression-mutator.ts Converted Map to const object * Fix formatting to please Prettier Used prettier-ignore on operators * modified operator to pass test and still function --------- Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Javier <[email protected]> Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69138fa - Browse repository at this point
Copy the full SHA 69138faView commit details -
29 restrict unaryoperator mutator (#53)
* integrated MutationLevel into unary-operator-mutator.ts Changed enum to const object * Fix formatting to please Prettier --------- Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44378ef - Browse repository at this point
Copy the full SHA 44378efView commit details -
#30 restrict updateoperator mutator (#51)
* updated to conform to mutationlevels * modified tests * modified config file * initial implementation of condition * Revert "initial implementation of condition" This reverts commit bcb6cc0. * changed tests to pass CI/CD * changes nessecary for pass * small refactor * remove line added by mistake --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ac2587 - Browse repository at this point
Copy the full SHA 7ac2587View commit details -
Added support for arrowfunction (#47)
* Added support for arrowfunction * update schema * Fix up arrow function sting --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1523566 - Browse repository at this point
Copy the full SHA 1523566View commit details
Commits on Dec 6, 2023
-
#63 implement objectliteral mutator (#65)
* object literal implementation of mutation levels * change construct of ObjectLiteral * Last Modifications to adhere to new implementation
Configuration menu - View commit details
-
Copy full SHA for ff9c4c3 - Browse repository at this point
Copy the full SHA ff9c4c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ad71de - Browse repository at this point
Copy the full SHA 0ad71deView commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6629ef6 - Browse repository at this point
Copy the full SHA 6629ef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4043abe - Browse repository at this point
Copy the full SHA 4043abeView commit details
Commits on Dec 9, 2023
-
Rename mutators & enhance NodeMutatorConfiguration type (#68)
* Rename mutators in the schema * Change negation to substraction in arhitmeticop * Rename mutators, stable * Enforce type with a generic NodeMutatorConfiguration * Get rid of NodeMutatorMultiConfiguration * Move operators inside nodemutator interface * Update conditionalLevel test name * Finish aritmetic through conditional operators, stable * Fix arithmetic through object-literal operators, stable * Fix up optional-chaining * Finish renaming mutators * Reorder stryker-core to reduce generated warnings * Use the same key for the mutator operators when there is no reason to be more specific
Configuration menu - View commit details
-
Copy full SHA for a66eb01 - Browse repository at this point
Copy the full SHA a66eb01View commit details
Commits on Jan 11, 2024
-
#48 ensure code consistency between mutators tests (#75)
* Made the arithmetic operator more consistent * Made the array declaration more consistent * Made the arrow function more consistent * Made the assignment operator more consistent * Made the block statement more consistent * Made the boolean literal more consistent * Made the conditional expression more consistent * Made the equality operator more consistent * Made the logical operator more consistent * Made the method expression more consistent * Made the object literal more consistent * Made the optional chaining more consistent * Made the regex more consistent * Made the string literal more consistent * Made the unary operator more consistent * Made the update operator more consistent * small modification in consistency * Fix consistency in all unit test files --------- Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9a232f - Browse repository at this point
Copy the full SHA c9a232fView commit details
Commits on Jan 14, 2024
-
Finish building the mutation level (#76)
* Build level for includedMutations * Add 'excludedMutations' functionality * Fix up tests after the excludedMutations changes * Remove redundant emptyMutationLevel object
Configuration menu - View commit details
-
Copy full SHA for c0f00a8 - Browse repository at this point
Copy the full SHA c0f00a8View commit details -
Provide means to calculate adjusted mutation score and implement into…
… clear-text-reporter('s table) (#81) * Add 'excludedMutations' functionality * Fix up tests after the excludedMutations changes * WIP * Added isMutable to NodeMutator * Added numberOfMutants to NodeMutator * Added column to text score table for adjusted mutation score * Fix linting issues * Fixed tests for babel-transformer * Fixed instrumenter tests * Improved test coverage * Adjusted tests for clear-text-reporter * Removed additional useless writeLine * Remove redundant emptyMutationLevel * Refactor mutators to increase branch coverage * Fix lint * Fix method expression test --------- Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ec2e3a - Browse repository at this point
Copy the full SHA 1ec2e3aView commit details
Commits on Jan 16, 2024
-
#72 clean up code create pr (#80)
* chore(deps): update dependency tap to v18.5.8 (stryker-mutator#4585) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.27.6 (stryker-mutator#4586) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ts-loader to v9.5.1 (stryker-mutator#4588) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency axios to v1.6.2 (stryker-mutator#4587) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency tap to v18.6.1 (stryker-mutator#4591) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.4 (stryker-mutator#4594) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.1 (stryker-mutator#4593) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.5 (stryker-mutator#4596) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint to v8.54.0 (stryker-mutator#4597) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.2 (stryker-mutator#4599) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.6 (stryker-mutator#4600) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @babel/cli to v7.23.4 (stryker-mutator#4601) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.7 (stryker-mutator#4602) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update mutation-testing-elements to v3.0.0 (stryker-mutator#4592) * chore(deps): update dependency @types/istanbul to v0.4.34 (stryker-mutator#4605) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/babel__core to v7.20.5 (stryker-mutator#4604) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/karma to v6.3.8 (stryker-mutator#4606) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/mocha to v10.0.5 (stryker-mutator#4607) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/sinon to v17.0.2 (stryker-mutator#4610) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.3 (stryker-mutator#4608) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/semver to v7.5.6 (stryker-mutator#4609) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.4 (stryker-mutator#4612) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte-check to v3.6.1 (stryker-mutator#4614) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency lerna to v8 (stryker-mutator#4616) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/vite-plugin-svelte to v2.5.3 (stryker-mutator#4615) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.0 (stryker-mutator#4617) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/mocha to v10.0.6 (stryker-mutator#4611) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte-check to v3.6.2 (stryker-mutator#4619) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency jsdom to v23 (stryker-mutator#4621) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update babel monorepo to v7.23.5 (stryker-mutator#4622) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(jest-runner): support `handleTestEvent` class property (stryker-mutator#4623) * chore(deps): update dependency typescript to v5.3.2 * fix(jest-runner): support `handleTestEvent` class property Support `handleTestEvent` as a custom class property (instead of method). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.1 (stryker-mutator#4624) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @cucumber/messages to v24 (stryker-mutator#4618) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update typescript-eslint monorepo to v6.13.1 (stryker-mutator#4584) * chore(deps): update typescript-eslint monorepo to v6.13.1 * fix eslint warnings for grabbed code --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency jsdom to v23.0.1 (stryker-mutator#4626) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.8 (stryker-mutator#4627) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(node): drop official support for node 16 (stryker-mutator#4542) - Set TS target to es2022 for more concise JavaScript - Drop support for node 16. The lowest supported version is now NodeJS 18. BREAKING CHANGE: NodeJS 16 is no longer supported. Please use NodeJS 18 or higher. See https://nodejs.org/en/about/previous-releases * feat(vitest): support browser mode (stryker-mutator#4628) - Support vitest browser mode - Support [email protected] * feat(init): add svelte custom initializer (stryker-mutator#4625) * Add svelte custom initializer * Add guide to configure Stryker for a svelte project * chore(release): bump StrykerJS peer dependency version * v8.0.0 * chore(deps): update dependency playwright to v1.40.1 (stryker-mutator#4629) * chore(deps): update dependency playwright to v1.40.1 * Regen lock file --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency prettier to v3.1.0 (stryker-mutator#4583) * chore(deps): update dependency prettier to v3.1.0 * Fix formatting --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency eslint to v8.55.0 (stryker-mutator#4632) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-config-prettier to v9.1.0 (stryker-mutator#4633) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update typescript-eslint monorepo to v6.13.2 (stryker-mutator#4637) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ava to v6 (stryker-mutator#4638) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ava to v6.0.1 (stryker-mutator#4642) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(core): Add .next, .nuxt and .svelte-kit to ignorePattern (stryker-mutator#4645) * feat: Add .next .nuxt .svelte-kit to ALWAYS_IGNORE patterns * fix unit test for project-reader * chore(deps): update vitest monorepo to v1.0.3 (stryker-mutator#4636) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency vite to v4.5.1 [security] (stryker-mutator#4639) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @testing-library/jest-dom to v6.1.5 (stryker-mutator#4630) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.4 (stryker-mutator#4631) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ts-node to v10.9.2 (stryker-mutator#4646) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency typescript to v5.3.3 (stryker-mutator#4643) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update vitest monorepo to v1.0.4 (stryker-mutator#4647) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.27.7 (stryker-mutator#4640) * chore(deps): update dependency @sveltejs/kit to v1.27.7 * Regen lock file --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency prettier to v3.1.1 (stryker-mutator#4648) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency angular-html-parser to ~5.2.0 (stryker-mutator#4649) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.28.0 (stryker-mutator#4650) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): remove unused `--force` (stryker-mutator#4651) * chore(deps): update babel monorepo to v7.23.6 (stryker-mutator#4652) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update typescript-eslint monorepo to v6.14.0 (stryker-mutator#4653) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.29.0 (stryker-mutator#4654) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.29.1 (stryker-mutator#4655) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.0 (stryker-mutator#4656) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.1 (stryker-mutator#4657) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.2 (stryker-mutator#4659) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.3 (stryker-mutator#4660) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-import to v2.29.1 (stryker-mutator#4661) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency lerna to v8.0.1 (stryker-mutator#4665) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint to v8.56.0 (stryker-mutator#4666) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/babel__generator to v7.6.8 (stryker-mutator#4667) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.5 (stryker-mutator#4668) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/upload-artifact action to v4 (stryker-mutator#4662) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update vitest monorepo to v1.1.0 (stryker-mutator#4670) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-prettier to v5.1.0 (stryker-mutator#4671) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-unicorn to v50 (stryker-mutator#4672) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-unicorn to v50.0.1 (stryker-mutator#4673) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-prettier to v5.1.1 (stryker-mutator#4674) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @cucumber/cucumber to v10.1.0 (stryker-mutator#4676) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-prettier to v5.1.2 (stryker-mutator#4679) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency axios to v1.6.3 (stryker-mutator#4680) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @testing-library/jest-dom to v6.1.6 (stryker-mutator#4682) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: fix docs links * Base structure for selecting operators individually (#14) * Added project to test on * Add level to the config and read it from code * Move the debugging to the test project * Add mutation levels CLI argument, fix lint * Move testing-project back outside packages folder * Check if pipeline is fixed * Remove last change, there is something wrong with the pipeline environment * Modify mutation levels config file to reflect the submutators * Update meta config such that types are generated instead of strings * Add back comment inside instrumenter launch file * Trigger e2e and incremental_mutation_test workflows only on `master` push --------- Co-authored-by: luctia <[email protected]> * #18 restrict arraydeclaration mutator (#40) * Changed configuration file for testing purposes * small updates in the lock file of package.json * Adaptation of the NodeMutator * Added check to only run desired suboperators * changed file to only run desired operators and pass its suboperators * Modified ArrayDeclaration tests according to modifications * Linting * Make modfications to the tests. * Linting * changed the acceptation of undefined as well * Linting * process feedback PR * Unstable * Added new suboperators for ArrayDeclaration * Adapted the suboperators implementation accordingly * Solved issues with undefined * changed tests * just a different config file * changed codebase for testing purposes * cleaned up file * cleanup * processed feedback * last feedback processed * #23 restrict equalityoperator mutator (#41) * ArithmeticOp: pass the whole level * Add min size to level arrays and mandatory name * Move arithmetic ops to map * Add test for arithmetic operator * Restrict EqualityOperator Observed mutation score (equality-operator-mutator.ts): 85.71% * Formatting fixes * Formatting fixes and removed dead code * Update arithmetic-operator-mutator.ts and equality-operator-mutator.ts to comply with the changes to node-mutator.ts. Coded it such that `undefined` results in allowing everything since otherwise setting no MutationLevel results in blocking every mutator. --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Ivo_Broekhof <[email protected]> * #21 booleanliteral (#44) * WIP Mutation level support for BooleanLiterals * Fix prettier * Tests * Pleased linter * Fixed typo * Added tests for edge cases * #20 assignment operator (#46) * WIP support for assignmentoperator * Added assignmentoperator in definitions * Added tests for edge cases * Added comments about what's being mutated * Resolved merge conflict? * Add restriction for string literals (#43) Co-authored-by: Ivo Broekhof <[email protected]> * Restrict optional chaining mutator (#45) Co-authored-by: Ivo Broekhof <[email protected]> * Change mutation level specification style (#56) * Read default levels v2 (#60) * solution to read a json file which contains levels * implementation of reading json object * read config * Refactor default levels location * make method private again --------- Co-authored-by: Javier <[email protected]> * Restricted logical-operator-mutator.ts (#57) * Restricted logical-operator-mutator.ts * Pleased linter now --------- Co-authored-by: Ivo_Broekhof <[email protected]> * #22 restrict conditionalexpression mutator (#55) * Added an extra suboperator * changed implementation of suboperator * tests for conditional operator for mutationLevel * combined config file * moved order of yielding * modified tests properly --------- Co-authored-by: Danut Copae <[email protected]> * 25 restrict methodexpression mutator (#54) * integrated MutationLevel into method-expression-mutator.ts Converted Map to const object * Fix formatting to please Prettier Used prettier-ignore on operators * modified operator to pass test and still function --------- Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Javier <[email protected]> Co-authored-by: Danut Copae <[email protected]> * 29 restrict unaryoperator mutator (#53) * integrated MutationLevel into unary-operator-mutator.ts Changed enum to const object * Fix formatting to please Prettier --------- Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Danut Copae <[email protected]> * #30 restrict updateoperator mutator (#51) * updated to conform to mutationlevels * modified tests * modified config file * initial implementation of condition * Revert "initial implementation of condition" This reverts commit bcb6cc0. * changed tests to pass CI/CD * changes nessecary for pass * small refactor * remove line added by mistake --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Danut Copae <[email protected]> * Added support for arrowfunction (#47) * Added support for arrowfunction * update schema * Fix up arrow function sting --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Danut Copae <[email protected]> * #63 implement objectliteral mutator (#65) * object literal implementation of mutation levels * change construct of ObjectLiteral * Last Modifications to adhere to new implementation * Refactor mutators (#64) * save progress * details * Implement mutationLevel construct BlockStatement (#66) * implement MutationLevel construct for Regex (#67) * Rename mutators & enhance NodeMutatorConfiguration type (#68) * Rename mutators in the schema * Change negation to substraction in arhitmeticop * Rename mutators, stable * Enforce type with a generic NodeMutatorConfiguration * Get rid of NodeMutatorMultiConfiguration * Move operators inside nodemutator interface * Update conditionalLevel test name * Finish aritmetic through conditional operators, stable * Fix arithmetic through object-literal operators, stable * Fix up optional-chaining * Finish renaming mutators * Reorder stryker-core to reduce generated warnings * Use the same key for the mutator operators when there is no reason to be more specific * #48 ensure code consistency between mutators tests (#75) * Made the arithmetic operator more consistent * Made the array declaration more consistent * Made the arrow function more consistent * Made the assignment operator more consistent * Made the block statement more consistent * Made the boolean literal more consistent * Made the conditional expression more consistent * Made the equality operator more consistent * Made the logical operator more consistent * Made the method expression more consistent * Made the object literal more consistent * Made the optional chaining more consistent * Made the regex more consistent * Made the string literal more consistent * Made the unary operator more consistent * Made the update operator more consistent * small modification in consistency * Fix consistency in all unit test files --------- Co-authored-by: Danut Copae <[email protected]> * remove testing project folder * removed testing folder from the workspace file * Revert "chore: fix docs links" This reverts commit d51d612. * removed testing folder again * change naming of operators * small modification to one of the names * Fix up ignore-project * Copy CI from upstream * Fix up config reader test from upstream * Fix up reporters-e2e test * Modification of stryker config * Modify the mutantstatus dependency * removed last items from testing folder --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hugo van Rijswijk <[email protected]> Co-authored-by: Nico Jansen <[email protected]> Co-authored-by: odinvanderlinden <[email protected]> Co-authored-by: Danut Copae <[email protected]> Co-authored-by: luctia <[email protected]> Co-authored-by: Ivo Broekhof <[email protected]> Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Luc Timmerman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 772c596 - Browse repository at this point
Copy the full SHA 772c596View commit details -
* Fix up ignore-project * Copy CI from upstream * Fix up config reader test from upstream * Fix up reporters-e2e test * Test ignored mutators when they are not present in includedMutations * Remove MutantStatus from ignore-project
Configuration menu - View commit details
-
Copy full SHA for 3bb1e3b - Browse repository at this point
Copy the full SHA 3bb1e3bView commit details -
#72 final touches to improve mergeability (#83)
* chore(deps): update dependency tap to v18.5.8 (stryker-mutator#4585) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.27.6 (stryker-mutator#4586) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ts-loader to v9.5.1 (stryker-mutator#4588) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency axios to v1.6.2 (stryker-mutator#4587) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency tap to v18.6.1 (stryker-mutator#4591) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.4 (stryker-mutator#4594) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.1 (stryker-mutator#4593) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.5 (stryker-mutator#4596) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint to v8.54.0 (stryker-mutator#4597) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.2 (stryker-mutator#4599) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.6 (stryker-mutator#4600) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @babel/cli to v7.23.4 (stryker-mutator#4601) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.7 (stryker-mutator#4602) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update mutation-testing-elements to v3.0.0 (stryker-mutator#4592) * chore(deps): update dependency @types/istanbul to v0.4.34 (stryker-mutator#4605) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/babel__core to v7.20.5 (stryker-mutator#4604) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/karma to v6.3.8 (stryker-mutator#4606) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/mocha to v10.0.5 (stryker-mutator#4607) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/sinon to v17.0.2 (stryker-mutator#4610) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.3 (stryker-mutator#4608) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/semver to v7.5.6 (stryker-mutator#4609) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.9.4 (stryker-mutator#4612) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte-check to v3.6.1 (stryker-mutator#4614) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency lerna to v8 (stryker-mutator#4616) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/vite-plugin-svelte to v2.5.3 (stryker-mutator#4615) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.0 (stryker-mutator#4617) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/mocha to v10.0.6 (stryker-mutator#4611) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte-check to v3.6.2 (stryker-mutator#4619) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency jsdom to v23 (stryker-mutator#4621) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update babel monorepo to v7.23.5 (stryker-mutator#4622) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(jest-runner): support `handleTestEvent` class property (stryker-mutator#4623) * chore(deps): update dependency typescript to v5.3.2 * fix(jest-runner): support `handleTestEvent` class property Support `handleTestEvent` as a custom class property (instead of method). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.1 (stryker-mutator#4624) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @cucumber/messages to v24 (stryker-mutator#4618) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update typescript-eslint monorepo to v6.13.1 (stryker-mutator#4584) * chore(deps): update typescript-eslint monorepo to v6.13.1 * fix eslint warnings for grabbed code --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency jsdom to v23.0.1 (stryker-mutator#4626) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency svelte to v4.2.8 (stryker-mutator#4627) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(node): drop official support for node 16 (stryker-mutator#4542) - Set TS target to es2022 for more concise JavaScript - Drop support for node 16. The lowest supported version is now NodeJS 18. BREAKING CHANGE: NodeJS 16 is no longer supported. Please use NodeJS 18 or higher. See https://nodejs.org/en/about/previous-releases * feat(vitest): support browser mode (stryker-mutator#4628) - Support vitest browser mode - Support [email protected] * feat(init): add svelte custom initializer (stryker-mutator#4625) * Add svelte custom initializer * Add guide to configure Stryker for a svelte project * chore(release): bump StrykerJS peer dependency version * v8.0.0 * chore(deps): update dependency playwright to v1.40.1 (stryker-mutator#4629) * chore(deps): update dependency playwright to v1.40.1 * Regen lock file --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency prettier to v3.1.0 (stryker-mutator#4583) * chore(deps): update dependency prettier to v3.1.0 * Fix formatting --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency eslint to v8.55.0 (stryker-mutator#4632) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-config-prettier to v9.1.0 (stryker-mutator#4633) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update typescript-eslint monorepo to v6.13.2 (stryker-mutator#4637) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ava to v6 (stryker-mutator#4638) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ava to v6.0.1 (stryker-mutator#4642) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(core): Add .next, .nuxt and .svelte-kit to ignorePattern (stryker-mutator#4645) * feat: Add .next .nuxt .svelte-kit to ALWAYS_IGNORE patterns * fix unit test for project-reader * chore(deps): update vitest monorepo to v1.0.3 (stryker-mutator#4636) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency vite to v4.5.1 [security] (stryker-mutator#4639) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @testing-library/jest-dom to v6.1.5 (stryker-mutator#4630) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.4 (stryker-mutator#4631) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ts-node to v10.9.2 (stryker-mutator#4646) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency typescript to v5.3.3 (stryker-mutator#4643) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update vitest monorepo to v1.0.4 (stryker-mutator#4647) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.27.7 (stryker-mutator#4640) * chore(deps): update dependency @sveltejs/kit to v1.27.7 * Regen lock file --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nico Jansen <[email protected]> * chore(deps): update dependency prettier to v3.1.1 (stryker-mutator#4648) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency angular-html-parser to ~5.2.0 (stryker-mutator#4649) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.28.0 (stryker-mutator#4650) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): remove unused `--force` (stryker-mutator#4651) * chore(deps): update babel monorepo to v7.23.6 (stryker-mutator#4652) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update typescript-eslint monorepo to v6.14.0 (stryker-mutator#4653) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.29.0 (stryker-mutator#4654) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.29.1 (stryker-mutator#4655) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.0 (stryker-mutator#4656) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.1 (stryker-mutator#4657) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.2 (stryker-mutator#4659) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @sveltejs/kit to v1.30.3 (stryker-mutator#4660) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-import to v2.29.1 (stryker-mutator#4661) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency lerna to v8.0.1 (stryker-mutator#4665) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint to v8.56.0 (stryker-mutator#4666) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/babel__generator to v7.6.8 (stryker-mutator#4667) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v20.10.5 (stryker-mutator#4668) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/upload-artifact action to v4 (stryker-mutator#4662) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update vitest monorepo to v1.1.0 (stryker-mutator#4670) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-prettier to v5.1.0 (stryker-mutator#4671) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-unicorn to v50 (stryker-mutator#4672) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-unicorn to v50.0.1 (stryker-mutator#4673) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-prettier to v5.1.1 (stryker-mutator#4674) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @cucumber/cucumber to v10.1.0 (stryker-mutator#4676) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-prettier to v5.1.2 (stryker-mutator#4679) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency axios to v1.6.3 (stryker-mutator#4680) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @testing-library/jest-dom to v6.1.6 (stryker-mutator#4682) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: fix docs links * Base structure for selecting operators individually (#14) * Added project to test on * Add level to the config and read it from code * Move the debugging to the test project * Add mutation levels CLI argument, fix lint * Move testing-project back outside packages folder * Check if pipeline is fixed * Remove last change, there is something wrong with the pipeline environment * Modify mutation levels config file to reflect the submutators * Update meta config such that types are generated instead of strings * Add back comment inside instrumenter launch file * Trigger e2e and incremental_mutation_test workflows only on `master` push --------- Co-authored-by: luctia <[email protected]> * #18 restrict arraydeclaration mutator (#40) * Changed configuration file for testing purposes * small updates in the lock file of package.json * Adaptation of the NodeMutator * Added check to only run desired suboperators * changed file to only run desired operators and pass its suboperators * Modified ArrayDeclaration tests according to modifications * Linting * Make modfications to the tests. * Linting * changed the acceptation of undefined as well * Linting * process feedback PR * Unstable * Added new suboperators for ArrayDeclaration * Adapted the suboperators implementation accordingly * Solved issues with undefined * changed tests * just a different config file * changed codebase for testing purposes * cleaned up file * cleanup * processed feedback * last feedback processed * #23 restrict equalityoperator mutator (#41) * ArithmeticOp: pass the whole level * Add min size to level arrays and mandatory name * Move arithmetic ops to map * Add test for arithmetic operator * Restrict EqualityOperator Observed mutation score (equality-operator-mutator.ts): 85.71% * Formatting fixes * Formatting fixes and removed dead code * Update arithmetic-operator-mutator.ts and equality-operator-mutator.ts to comply with the changes to node-mutator.ts. Coded it such that `undefined` results in allowing everything since otherwise setting no MutationLevel results in blocking every mutator. --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Ivo_Broekhof <[email protected]> * #21 booleanliteral (#44) * WIP Mutation level support for BooleanLiterals * Fix prettier * Tests * Pleased linter * Fixed typo * Added tests for edge cases * #20 assignment operator (#46) * WIP support for assignmentoperator * Added assignmentoperator in definitions * Added tests for edge cases * Added comments about what's being mutated * Resolved merge conflict? * Add restriction for string literals (#43) Co-authored-by: Ivo Broekhof <[email protected]> * Restrict optional chaining mutator (#45) Co-authored-by: Ivo Broekhof <[email protected]> * Change mutation level specification style (#56) * Read default levels v2 (#60) * solution to read a json file which contains levels * implementation of reading json object * read config * Refactor default levels location * make method private again --------- Co-authored-by: Javier <[email protected]> * Restricted logical-operator-mutator.ts (#57) * Restricted logical-operator-mutator.ts * Pleased linter now --------- Co-authored-by: Ivo_Broekhof <[email protected]> * #22 restrict conditionalexpression mutator (#55) * Added an extra suboperator * changed implementation of suboperator * tests for conditional operator for mutationLevel * combined config file * moved order of yielding * modified tests properly --------- Co-authored-by: Danut Copae <[email protected]> * 25 restrict methodexpression mutator (#54) * integrated MutationLevel into method-expression-mutator.ts Converted Map to const object * Fix formatting to please Prettier Used prettier-ignore on operators * modified operator to pass test and still function --------- Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Javier <[email protected]> Co-authored-by: Danut Copae <[email protected]> * 29 restrict unaryoperator mutator (#53) * integrated MutationLevel into unary-operator-mutator.ts Changed enum to const object * Fix formatting to please Prettier --------- Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Danut Copae <[email protected]> * #30 restrict updateoperator mutator (#51) * updated to conform to mutationlevels * modified tests * modified config file * initial implementation of condition * Revert "initial implementation of condition" This reverts commit bcb6cc0. * changed tests to pass CI/CD * changes nessecary for pass * small refactor * remove line added by mistake --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Danut Copae <[email protected]> * Added support for arrowfunction (#47) * Added support for arrowfunction * update schema * Fix up arrow function sting --------- Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Danut Copae <[email protected]> * #63 implement objectliteral mutator (#65) * object literal implementation of mutation levels * change construct of ObjectLiteral * Last Modifications to adhere to new implementation * Refactor mutators (#64) * save progress * details * Implement mutationLevel construct BlockStatement (#66) * implement MutationLevel construct for Regex (#67) * Rename mutators & enhance NodeMutatorConfiguration type (#68) * Rename mutators in the schema * Change negation to substraction in arhitmeticop * Rename mutators, stable * Enforce type with a generic NodeMutatorConfiguration * Get rid of NodeMutatorMultiConfiguration * Move operators inside nodemutator interface * Update conditionalLevel test name * Finish aritmetic through conditional operators, stable * Fix arithmetic through object-literal operators, stable * Fix up optional-chaining * Finish renaming mutators * Reorder stryker-core to reduce generated warnings * Use the same key for the mutator operators when there is no reason to be more specific * #48 ensure code consistency between mutators tests (#75) * Made the arithmetic operator more consistent * Made the array declaration more consistent * Made the arrow function more consistent * Made the assignment operator more consistent * Made the block statement more consistent * Made the boolean literal more consistent * Made the conditional expression more consistent * Made the equality operator more consistent * Made the logical operator more consistent * Made the method expression more consistent * Made the object literal more consistent * Made the optional chaining more consistent * Made the regex more consistent * Made the string literal more consistent * Made the unary operator more consistent * Made the update operator more consistent * small modification in consistency * Fix consistency in all unit test files --------- Co-authored-by: Danut Copae <[email protected]> * remove testing project folder * removed testing folder from the workspace file * Revert "chore: fix docs links" This reverts commit d51d612. * removed testing folder again * change naming of operators * small modification to one of the names * Fix up ignore-project * Copy CI from upstream * Fix up config reader test from upstream * Fix up reporters-e2e test * Modification of stryker config * Modify the mutantstatus dependency * removed last items from testing folder --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hugo van Rijswijk <[email protected]> Co-authored-by: Nico Jansen <[email protected]> Co-authored-by: odinvanderlinden <[email protected]> Co-authored-by: Danut Copae <[email protected]> Co-authored-by: luctia <[email protected]> Co-authored-by: Ivo Broekhof <[email protected]> Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Luc Timmerman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 073b2ad - Browse repository at this point
Copy the full SHA 073b2adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b111450 - Browse repository at this point
Copy the full SHA b111450View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69adeba - Browse repository at this point
Copy the full SHA 69adebaView commit details
Commits on Jan 27, 2024
-
* Added doc comments where they were missing * Added/modified description of mutation levels in docs * Updated section on level selection * Possibly fixed pipeline failure Looks like a dependency was snuck in from local, removed that * linter fixes Remove spurious whitespace at lines 12 and 17 * Updated naming changes in accordance to the new convention * Made mutation names consistent with previous naming change * Add calisto guide (specific commands still pending) --------- Co-authored-by: Ivo_Broekhof <[email protected]> Co-authored-by: Danut Copae <[email protected]> Co-authored-by: Danut Copae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 419d28b - Browse repository at this point
Copy the full SHA 419d28bView commit details -
* Move default-mutation-levels file to .ts * Rename mutationName to mutationOperator * Move if statements outside of API * Remove `any` type from ReplacementConfiguration * Remove all the clear-text-reporter changes * Remove all clear-text reporter changes * Minimum includedMutations array length, warn when mutator isn't recognised * Remove default options for mutator options * Fix typo * Fix reporters-e2e test * Refer to Callisto documentation
Configuration menu - View commit details
-
Copy full SHA for 905f413 - Browse repository at this point
Copy the full SHA 905f413View commit details
Commits on Jan 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ef29d5 - Browse repository at this point
Copy the full SHA 6ef29d5View commit details