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

Implement mutation switching #2340

Merged
merged 202 commits into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
a7cad83
chore: disable e2e tests for mutation switching
nicojs May 15, 2020
3d5ae2b
docs(readme): add note about mutation switching
nicojs May 15, 2020
197e177
feat(instrumenter): add the mutation testing instrumenter (#2212)
nicojs May 15, 2020
9e99c4a
Merge branch 'master' into epic/mutation-switching
nicojs May 18, 2020
4f2f620
build(deps-dev): bump @typescript-eslint/eslint-plugin (#2219)
dependabot-preview[bot] May 19, 2020
ba43da3
chore(instrumenter): configure mutation testing
nicojs May 19, 2020
3b57ef2
feat(instrumenter): add parsers (#2222)
nicojs May 25, 2020
78a021c
feat(instrumenter): add printers #2223
nicojs May 25, 2020
0e05025
feat(instrumenter): add mutant placers (#2224)
nicojs May 28, 2020
e66aed4
build(deps): bump @babel/traverse from 7.9.6 to 7.10.1 (#2233)
dependabot-preview[bot] May 30, 2020
a2f8bb8
build(deps-dev): bump @typescript-eslint/parser from 2.33.0 to 2.34.0…
dependabot-preview[bot] May 30, 2020
edd5510
build(deps): bump @babel/core from 7.9.6 to 7.10.1 (#2227)
dependabot-preview[bot] May 30, 2020
912d4e2
build(deps-dev): bump @babel/preset-env from 7.9.6 to 7.10.2
dependabot-preview[bot] May 30, 2020
d6a5eb3
build(deps-dev): bump @babel/cli from 7.8.4 to 7.10.1
dependabot-preview[bot] May 30, 2020
61c8fe6
feat(instrumenter): add transformers (#2234)
nicojs May 30, 2020
88e40aa
build(deps-dev): bump flatted from 2.0.2 to 3.0.2 (#2231)
dependabot-preview[bot] May 30, 2020
0fb8f59
build(deps): bump @babel/parser from 7.9.6 to 7.10.2 (#2235)
dependabot-preview[bot] May 30, 2020
d7f37e6
build(deps-dev): bump @babel/types from 7.9.6 to 7.10.2
dependabot-preview[bot] Jun 1, 2020
8df9172
feat(instrumenter): implement `Instrumenter` class
nicojs Jun 1, 2020
7e9fdb6
build(deps-dev): bump @types/mkdirp from 1.0.0 to 1.0.1
dependabot-preview[bot] Jun 8, 2020
d463f86
feat(checker): add checker api (#2240)
nicojs Jun 9, 2020
b6d6dfd
fix(jasmine-runner): update deprecated api calls (#2250)
nicojs Jun 10, 2020
d330af9
refactor(util): move Task to @stryker-mutator/util (#2254)
nicojs Jun 10, 2020
cfc9053
feat(api): add id to Mutant interface (#2255)
nicojs Jun 11, 2020
d47e8e7
chore(instrumentator): improve instrument syntax
nicojs Jun 12, 2020
976417f
Merge branch 'master' into epic/mutation-switching
nicojs Jun 16, 2020
bbbc308
feat(api): add new test runner api (#2249)
nicojs Jun 16, 2020
c4ea34a
test(instrumenter): update snapshots
nicojs Jun 16, 2020
75e8c75
build(deps-dev): bump karma from 5.0.9 to 5.1.0
dependabot-preview[bot] Jun 16, 2020
e56487c
build(deps-dev): bump eslint-plugin-prettier from 3.1.3 to 3.1.4
dependabot-preview[bot] Jun 16, 2020
22af886
build(deps): bump inquirer from 7.1.0 to 7.2.0 (#2263)
dependabot-preview[bot] Jun 16, 2020
e75640b
build(deps): bump chalk from 4.0.0 to 4.1.0 (#2252)
dependabot-preview[bot] Jun 16, 2020
e2a325a
build(deps): bump enhanced-resolve from 4.1.1 to 4.2.0 (#2264)
dependabot-preview[bot] Jun 16, 2020
871db8c
feat(jasmine-runner): implement new test runner api (#2256)
nicojs Jun 17, 2020
42adb95
feat(typescript-checker): a typescript type checker plugin (#2241)
nicojs Jun 18, 2020
482c782
docs(readme): fix typo's
lukas-schaetzle Jun 19, 2020
3b87743
feat(mutators): add mutators to instrumenter package (#2266)
simondel Jun 19, 2020
04dd5f7
feat(karma-runner): implement v2 test runner api (#2267)
nicojs Jun 19, 2020
5e0cbe7
chore(lint): update dependencies and files accordingly (#2243)
Jun 20, 2020
0b602b6
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Jun 23, 2020
d6f2bda
build(deps-dev): bump eslint from 7.3.0 to 7.3.1
dependabot-preview[bot] Jun 23, 2020
6cc3ab9
build(deps-dev): bump eslint-plugin-import from 2.21.2 to 2.22.0
dependabot-preview[bot] Jun 29, 2020
b68b3a0
build(deps-dev): bump @typescript-eslint/parser from 3.3.0 to 3.5.0
dependabot-preview[bot] Jun 30, 2020
72f24db
build(deps): bump rxjs from 6.5.5 to 6.6.0 (#2282)
dependabot-preview[bot] Jul 3, 2020
9d4671b
feat(core): simple mutation switching process (#2269)
nicojs Jul 3, 2020
69358e1
feat(core): add support for checker plugins (#2285)
nicojs Jul 3, 2020
39bb838
Merge branch 'master' into epic/mutation-switching
nicojs Jul 4, 2020
2c61e97
build(deps-dev): bump @types/semver from 7.2.0 to 7.3.1
dependabot-preview[bot] Jul 4, 2020
963e289
fix(instrumenter): don't mutate `require`
nicojs Jul 4, 2020
f71ba87
feat(core): support build command
nicojs Jul 4, 2020
3918633
fix(karma-runner): mocha filtering with `/` (#2290)
nicojs Jul 4, 2020
3adde83
feat(sandbox): add ignore header to js files (#2291)
nicojs Jul 4, 2020
4ee4950
feat(tsconfig): rewrite tsconfig references (#2292)
nicojs Jul 5, 2020
8e2f176
build(deps-dev): bump eslint from 7.3.1 to 7.4.0
dependabot-preview[bot] Jul 6, 2020
22585bc
build(deps-dev): bump @typescript-eslint/parser from 3.5.0 to 3.6.0
dependabot-preview[bot] Jul 7, 2020
99c274e
build(deps-dev): bump @types/chai-as-promised from 7.1.2 to 7.1.3
dependabot-preview[bot] Jul 7, 2020
90e379e
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Jul 7, 2020
dfae39a
refactor(mocha-runner): introduce MochaAdapter (#2300)
nicojs Jul 7, 2020
574e86f
feat(mocha-runner): implement new test runner api (#2303)
nicojs Jul 8, 2020
bd25cd6
fix(sandbox): exec build command before symlink
nicojs Jul 8, 2020
77b6a20
fix(buildCommand): allow for a single command string in posix
nicojs Jul 9, 2020
8ceff31
feat(html-parser): add `// @ts-nocheck` to scripts
nicojs Jul 10, 2020
8758cfd
feat(instrumenter): allow override of babel plugins
nicojs Jul 10, 2020
9267b6f
test(e2e): enable 'vue-cli-typescript-mocha'
nicojs Jul 10, 2020
fe5e200
feat(test-framework): remove `TestFramework` API
nicojs Jul 10, 2020
06f668b
feat(transpiler): remove `Transpiler` API
nicojs Jul 10, 2020
3ca89cf
feat(mutator): remove `Mutator` API
nicojs Jul 10, 2020
5e56d0e
feat(api): remove support for options editors
nicojs Jul 10, 2020
13c780d
test(e2e): update local dependencies
nicojs Jul 10, 2020
284a28c
fix(typescript-checker): support empty files (#2310)
nicojs Jul 10, 2020
8bd634b
chore(publish): set prerelease dist tag
nicojs Jul 10, 2020
ceb73a8
fix(reporter): report event order (#2311)
nicojs Jul 10, 2020
6c7b6db
v4.0.0-beta.0
nicojs Jul 10, 2020
8f956f0
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Jul 14, 2020
7b53ca9
build(deps-dev): bump @typescript-eslint/parser from 3.6.0 to 3.6.1
dependabot-preview[bot] Jul 14, 2020
0bbc0c1
fix(Jest): Notify users of lacking Jest support (#2322)
simondel Jul 17, 2020
2973eef
v4.0.0-beta.1
simondel Jul 17, 2020
80c8966
build(deps-dev): bump eslint from 7.4.0 to 7.5.0
dependabot-preview[bot] Jul 20, 2020
c759ef1
build(deps-dev): bump @typescript-eslint/parser from 3.6.1 to 3.7.0
dependabot-preview[bot] Jul 21, 2020
c4c9be0
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Jul 21, 2020
adf87b7
build(deps-dev): bump @types/mocha from 7.0.2 to 8.0.0 (#2317)
dependabot-preview[bot] Jul 21, 2020
0507993
build(deps): bump inquirer from 7.2.0 to 7.3.2 (#2318)
dependabot-preview[bot] Jul 21, 2020
76785f4
build(deps-dev): bump jasmine-core from 3.5.0 to 3.6.0
dependabot-preview[bot] Jul 24, 2020
625f7d9
build(deps-dev): bump @types/chai from 4.2.11 to 4.2.12
dependabot-preview[bot] Jul 24, 2020
4319e90
build(deps-dev): bump @typescript-eslint/parser from 3.7.0 to 3.7.1
dependabot-preview[bot] Jul 28, 2020
22cd4a4
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Jul 28, 2020
aaa4ff6
fix(mutator): issue with block statement mutator (#2342)
nicojs Aug 1, 2020
0e8f2e4
build(deps-dev): bump eslint from 7.5.0 to 7.6.0
dependabot-preview[bot] Aug 3, 2020
1aad9d6
refactor(api): add instrumenter constants
nicojs Aug 3, 2020
4975259
refactor(cleanup): provide more accurate types and fix small issues (…
Aug 3, 2020
0010741
build(deps): bump commander from 5.1.0 to 6.0.0 (#2325)
dependabot-preview[bot] Aug 3, 2020
310145e
fix(ArrowFunction mutator): don't mutate () => undefined (#2313)
simondel Aug 3, 2020
05d288f
build(deps): bump log4js from 6.2.1 to 6.3.0 (#2221)
dependabot-preview[bot] Aug 3, 2020
a98e701
build(deps): Revert bump log4js, back to 6.2.1 (#2221)
nicojs Aug 3, 2020
59b1cfc
feat(command): Support command test runner with mutation switching (#…
nicojs Aug 3, 2020
1296d83
build(deps-dev): bump @typescript-eslint/parser from 3.7.1 to 3.8.0
dependabot-preview[bot] Aug 4, 2020
d8b368d
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Aug 4, 2020
9e6e6e0
feat(jest-runner): support mutation switching (#2350)
nicojs Aug 5, 2020
cd43952
fix(instrumenter): don't mutate string literals in object properties …
nicojs Aug 5, 2020
4d32142
test(e2e): re-enable all e2e tests (#2356)
nicojs Aug 5, 2020
8016080
chore(typescript-checker): improve logging (#2359)
nicojs Aug 7, 2020
7095548
v4.0.0-beta.2
nicojs Aug 7, 2020
e493f4a
chore(logging): add logging that it this may take a while.
nicojs Aug 7, 2020
68496cd
test(config-reader): Override stryker.conf.json file
nicojs Aug 7, 2020
d0aa5c3
feat(jest-runner): remove deprecated project types (#2361)
nicojs Aug 7, 2020
430d6d3
feat(core): add ability to override file headers (#2363)
nicojs Aug 7, 2020
55f27f2
feat(core): strip comments in sandbox (#2365)
nicojs Aug 9, 2020
92f3bf5
feat(test runner api): remove `sandboxFileNames` injectable values (#…
nicojs Aug 11, 2020
af18a59
fix(core): exit process on error (#2378)
nicojs Aug 13, 2020
2343dcf
refactor(cleanup): overall cleanup of types and code style
Aug 13, 2020
fee0754
feat(mocha): deprecate mocha < v6 (#2379)
nicojs Aug 13, 2020
6885e16
fix(exit prematurely): exit when no tests were executed (#2380)
nicojs Aug 16, 2020
9f818f0
build(deps-dev): bump eslint from 7.6.0 to 7.7.0
dependabot-preview[bot] Aug 17, 2020
c7d150a
fix(instrumenter): support anonymous function names (#2388)
nicojs Aug 17, 2020
d31b2c6
test(e2e): add jest with enzyme, react ts test
Garethp Aug 17, 2020
c7f5769
build(deps-dev): bump @typescript-eslint/parser from 3.8.0 to 3.9.1
dependabot-preview[bot] Aug 18, 2020
6041699
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Aug 18, 2020
5ba4c5c
feat(instrumenter): add support for `.mjs` and `.cjs` file formats (#…
Omhet Aug 18, 2020
9c2917f
v4.0.0-beta.3
nicojs Aug 19, 2020
67f1ed5
feat(reporter-api): support mutation switching
nicojs Aug 21, 2020
cb71558
refactor(checker): `CheckResult` as union type
nicojs Aug 21, 2020
0eea448
feat(test-runner): add `nrOfTests` metric
nicojs Aug 21, 2020
ba928a1
feat(karma-runner): force bail = true in all cases
nicojs Aug 21, 2020
0819537
build(deps-dev): bump prettier from 2.0.5 to 2.1.0
dependabot-preview[bot] Aug 25, 2020
7136d54
build(deps-dev): bump @typescript-eslint/parser from 3.9.1 to 3.10.1
dependabot-preview[bot] Aug 25, 2020
7528cd1
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot-preview[bot] Aug 25, 2020
e38360a
chore(dev-deps): bump mutation-testing-elements (#2424)
nicojs Aug 26, 2020
7c637c8
feat(options): deprecate old stryker options (#2395)
Aug 26, 2020
7a151c4
build(deps-dev): bump prettier from 2.1.0 to 2.1.1
dependabot-preview[bot] Aug 26, 2020
139f9f3
fix(input files): support emojis in file names (#2430)
nicojs Aug 27, 2020
68842ec
Merge branch 'master' into epic/mutation-switching
nicojs Aug 28, 2020
986b770
chore(build): remove duplicate import (#2437)
nicojs Aug 28, 2020
8f96ea5
test(perf): enable express perf test on Stryker 4 (#2436)
nicojs Aug 28, 2020
646b15d
test(perf): enable submodule checkout in workflow (#2441)
nicojs Aug 28, 2020
7c55424
feat(wct-runner): drop support for wct (#2440)
nicojs Aug 28, 2020
4d3ae97
feat(api): rename test_runner2 -> test_runner (#2442)
nicojs Aug 28, 2020
cad01ba
feat(jest-runner): switch mutants using env (#2416)
Garethp Aug 28, 2020
6cbe9b4
refactor: improve typings in options validator
Aug 28, 2020
bc0355e
v4.0.0-beta.4
nicojs Aug 29, 2020
9c846bf
build(deps-dev): bump typescript from 3.9.7 to 4.0.2 (#2409)
dependabot-preview[bot] Aug 29, 2020
7a3aa69
chore(deps): lock all dependencies on minor version (~) (#2445)
Aug 31, 2020
d90f08a
build(deps-dev): bump eslint from 7.7.0 to 7.8.0
dependabot-preview[bot] Sep 1, 2020
3ff996b
feat(typescript): Disable type checking (#2446)
nicojs Sep 2, 2020
c9efa78
build(deps-dev): bump eslint from 7.8.0 to 7.8.1
dependabot-preview[bot] Sep 2, 2020
673516d
feat(mutate): a new default for `mutate` (#2452)
nicojs Sep 3, 2020
8481e8e
build(deps-dev): bump @typescript-eslint/eslint-plugin (#2450)
dependabot-preview[bot] Sep 4, 2020
582e01b
fix(reporters): correctly report avg tests/mutants (#2458)
nicojs Sep 4, 2020
e90b563
fix(mocha-runner): don't allow custom timeout (#2463)
nicojs Sep 9, 2020
23eede2
fix(mocha-runner): fix memory leaks
nicojs Sep 9, 2020
457d807
fix(jasmine-runner): fix memory leaks
nicojs Sep 9, 2020
424036a
v4.0.0-beta.5
nicojs Sep 9, 2020
93039a8
test(helpers): fix a memory leak (#2468)
nicojs Sep 9, 2020
4c1c51c
build(deps): bump commander from 6.0.0 to 6.1.0 (#2443)
dependabot-preview[bot] Sep 9, 2020
2432d84
fix(instrumenter): skip `as` expressions (#2471)
nicojs Sep 10, 2020
ce1901f
v4.0.0-beta.6
nicojs Sep 10, 2020
ddb6c3d
test(mutation): enable mutation testing (#2475)
nicojs Sep 13, 2020
632f030
build(deps-dev): bump eslint from 7.8.1 to 7.9.0
dependabot-preview[bot] Sep 14, 2020
472cff2
build(deps-dev): bump prettier from 2.1.1 to 2.1.2
dependabot-preview[bot] Sep 16, 2020
4df4102
fix(instrumenter): place mutants in if statements (#2481)
nicojs Sep 17, 2020
ca464a3
fix(instrumenter): don't mutate constructor blocks with initialized c…
nicojs Sep 17, 2020
09eacee
fix(core): allow skipped tests when matching mutants (#2487)
nicojs Sep 17, 2020
5bf235d
v4.0.0-beta.7
nicojs Sep 17, 2020
6ef792c
feat(core): add `--cleanTempDir` cli option
Sep 17, 2020
15bb4d1
refactor(api): rename `TestRunner2` -> `TestRunner`
nicojs Sep 18, 2020
cfd006e
refactor(instrumenter): cleanup `StatementMutantPlacer`
nicojs Sep 19, 2020
2b01d5c
refactor(instrumenter): use global namespace
nicojs Sep 19, 2020
b27699b
test(mutation): enable stryker run on mocha-runner
nicojs Sep 19, 2020
12be994
test(mutation): enable stryker on jasmine-runner
nicojs Sep 20, 2020
12e097e
feat(instrumenter): improve placement error
nicojs Sep 21, 2020
b1faa16
fix(instrumenter): ignore `declare` syntax
nicojs Sep 21, 2020
d8d5514
test(e2e): add e2e test for coverage analysis (#2491)
nicojs Sep 22, 2020
4a82553
v4.0.0-beta.8
nicojs Sep 22, 2020
0dec9b8
feat(core): add `appendPlugins` command-line option (#2385)
Garethp Sep 25, 2020
5ff6109
build(deps-dev): bump @types/inquirer from 6.0.3 to 7.3.1 (#2408)
dependabot-preview[bot] Sep 25, 2020
0aacc7b
feat(jest-runner): deprecate "create-react-app-ts" (#2497)
simondel Sep 25, 2020
5b7c242
fix(core): fix "too many open files" (#2498)
nicojs Sep 25, 2020
c8dcecd
build(deps-dev): bump eslint-config-prettier from 6.11.0 to 6.12.0
dependabot-preview[bot] Sep 25, 2020
8ea3c18
fix(config): deprecate function based config (#2499)
Sep 26, 2020
8f989cc
fix(instrumenter): only add header when there are mutats (#2503)
nicojs Sep 26, 2020
efc812d
build(deps-dev): bump eslint from 7.9.0 to 7.10.0
dependabot-preview[bot] Sep 28, 2020
ee0615d
build(deps-dev): bump eslint-plugin-import from 2.22.0 to 2.22.1
dependabot-preview[bot] Sep 28, 2020
4f5a37e
feat(core): correct initial test run timing (#2496)
simondel Sep 28, 2020
b33dc72
chore: update database
hugo-vrijswijk Sep 28, 2020
76bb1ba
docs(readme): correct link to files
nicojs Sep 28, 2020
66c2444
fix(mutate config): don't warn about files not existing at the defaul…
simondel Sep 28, 2020
7d2dd80
fix(shebang): support shebang in in files (#2510)
nicojs Sep 28, 2020
5919484
feat(test-runner): Add `--maxTestRunnerReuse` support
Garethp Sep 28, 2020
521f0aa
test(angular): enable Angular performance test (#2511)
simondel Sep 28, 2020
990d407
chore(types): fix the bad type import
Garethp Sep 29, 2020
e665052
v4.0.0-beta.9
nicojs Sep 30, 2020
7616d84
build(deps-dev): bump sinon from 9.0.3 to 9.1.0
dependabot-preview[bot] Sep 30, 2020
4270117
build(deps-dev): bump flatted from 3.0.5 to 3.1.0
dependabot-preview[bot] Sep 30, 2020
3eef8aa
refactor: remove unused file (#2524)
Oct 2, 2020
a560711
fix(instrumenter): switch case mutant placer (#2518)
nicojs Oct 4, 2020
bfd714f
feat(instrumenter): add excludedMutations support (#2513)
nicojs Oct 4, 2020
01bbdda
chore(peer-deps): update stryker core peer dep
nicojs Oct 4, 2020
373ca28
v4.0.0-beta.10
nicojs Oct 5, 2020
389d9f8
build(deps-dev): bump @jest/types from 26.3.0 to 26.5.2
dependabot-preview[bot] Oct 6, 2020
ec0d75e
fix(presets): update `init` templates for 4.0 release (#2526)
nicojs Oct 7, 2020
6a3a993
docs: remove remark about branch (#2531)
nicojs Oct 7, 2020
ed42e3c
fix(instrumenter): don't mutate generics (#2530)
nicojs Oct 7, 2020
e632d1e
Merge branch 'master' into epic/mutation-switching
nicojs Oct 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[{*.ts,*.js,*jsx,*tsx,*.json,*.code-workspace}]
[{*.ts,*.js,*jsx,*tsx,*.json,,*.jsonc,*.code-workspace}]
insert_final_newline = true
indent_style = space
indent_size = 2
Expand Down
22 changes: 13 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ module.exports = {
plugins: ['@typescript-eslint', 'prettier', 'import'],
rules: {
'import/newline-after-import': 1,
'import/order': ["error", { "newlines-between": "always", "groups": ["builtin", ["external", "internal"], "parent", "sibling", "index"] }],
'import/order': [
"error",
{
"newlines-between": "always-and-inside-groups",
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"]
}
],
'prettier/prettier': ['error'],
'sort-imports': 'off', // No auto-fix!
'sort-imports': 'off',
'no-case-declarations': 'off',
'no-constant-condition': 'error',
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': [
'error',
Expand All @@ -23,13 +30,10 @@ module.exports = {
}
],
'@typescript-eslint/await-thenable': 'off',
'@typescript-eslint/ban-ts-ignore': 'error',
'@typescript-eslint/ban-types': 'error',
'brace-style': 'off',
'@typescript-eslint/brace-style': 'error',
camelcase: 'off',
'@typescript-eslint/camelcase': 'error',
'@typescript-eslint/class-name-casing': 'error',
camelcase: 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/consistent-type-definitions': 'error',
'@typescript-eslint/explicit-function-return-type': 'off',
Expand All @@ -39,11 +43,10 @@ module.exports = {
'@typescript-eslint/generic-type-naming': 'off',
indent: 'off',
'@typescript-eslint/indent': 'off',
'@typescript-eslint/interface-name-prefix': ['error', 'never'],
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/member-naming': 'error',
'@typescript-eslint/member-ordering': 'off',
'no-array-constructor': 'off',
'no-array-constructor': 'error',
'no-duplicate-case': 'error',
'@typescript-eslint/no-array-constructor': 'error',
'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': 'off',
Expand All @@ -56,6 +59,7 @@ module.exports = {
'@typescript-eslint/no-for-in-array': 'error',
'@typescript-eslint/no-inferrable-types': 'off',
'no-magic-numbers': 'off',
'no-fallthrough': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-misused-promises': 'off',
Expand Down
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ assignees: ''

<!--- Please place your stryker config below. Feel free to change paths in the files and mutate arrays if you cannot share them. -->

```js
module.exports = function(config){
config.set({
....
});
```json
{
}
```

Expand Down
52 changes: 6 additions & 46 deletions .github/workflows/mutation-testing.yml
Original file line number Diff line number Diff line change
@@ -1,75 +1,35 @@
name: mutation testing

on:
workflow_dispatch:
push:
branches:
- master
- test/**

jobs:
core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install & Build
run: |
npm install
npm run build
- name: Run Stryker
run: npx lerna run --scope "@stryker-mutator/core" --concurrency 1 --stream stryker
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

plugins-1:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install & Build
run: |
npm install
npm run build
- name: Run Stryker
run: npx lerna run --scope "@stryker-mutator/{api,babel-transpiler,jasmine-framework,javascript-mutator}" --concurrency 1 --stream stryker
run: npx lerna run --scope "@stryker-mutator/core" --concurrency 1 --stream stryker -- -- --concurrency 3
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

plugins-2:
dependencies_and_plugins:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install & Build
run: |
npm install
npm run build
- name: Run Stryker
run: npx lerna run --scope "@stryker-mutator/{jasmine-runner,jest-runner,karma-runner,mocha-framework,mocha-runner}" --concurrency 1 --stream stryker
run: npx lerna run --scope "@stryker-mutator/{api,instrumenter,util,typescript-checker,jest-runner,karma-runner,mocha-runner,jasmine-runner}" --concurrency 1 --stream stryker -- -- --concurrency 3
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

plugins-3:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install & Build
run: |
npm install
npm run build
- name: Run Stryker
run: npx lerna run --scope "@stryker-mutator/{typescript,vue-mutator,webpack-transpiler,wct-runner,util}" --concurrency 1 --stream stryker
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
4 changes: 3 additions & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: npm install
- name: Build packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- name: Build
run: npm run build
- name: Release
run: npx lerna publish from-git --yes
run: npx lerna publish from-git --yes --pre-dist-tag next
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ packages/*/src/**/*.js
packages/*/test/**/*.js
packages/*/src/**/*.d.ts
packages/*/test/**/*.d.ts
packages/*/dist
e2e/test/*/dist
e2e/test/*/dist-test
.idea
*.iml
*.tmp.txt
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "perf/test/express"]
path = perf/test/express
url = git@github.com:expressjs/express.git
url = https://github.com/expressjs/express.git
7 changes: 4 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"printWidth": 150,
"singleQuote": true
}
'printWidth': 150,
'singleQuote': true,
'endOfLine': 'auto',
}
Binary file modified .travis/Stryker.db
Binary file not shown.
15 changes: 9 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}",
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
Expand Down Expand Up @@ -60,12 +69,6 @@
],
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}\\packages\\stryker-mocha-runner\""
},
{
"type": "node",
"request": "attach",
Expand Down