Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a67e17efaf | ||
|
|
99c26f3ed0 | ||
|
|
cf072b0e84 | ||
|
|
6204797897 | ||
|
|
a0146adc36 | ||
|
|
d0822acb80 |
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: Mutation Testing
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
stryker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Required for incremental mutation testing
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v3
|
||||
with:
|
||||
version: 9
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run Stryker Mutation Testing (Incremental)
|
||||
run: pnpm exec stryker run
|
||||
@@ -55,6 +55,8 @@
|
||||
"zustand": "^5.0.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@stryker-mutator/core": "^9.6.1",
|
||||
"@stryker-mutator/vitest-runner": "^9.6.1",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@types/bcryptjs": "^3.0.0",
|
||||
|
||||
Generated
+811
-929
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
|
||||
"packageManager": "pnpm",
|
||||
"testRunner": "vitest",
|
||||
"plugins": [
|
||||
"@stryker-mutator/vitest-runner"
|
||||
],
|
||||
"vitest": {
|
||||
"configFile": "vitest.config.ts"
|
||||
},
|
||||
"reporters": [
|
||||
"html",
|
||||
"clear-text",
|
||||
"progress"
|
||||
],
|
||||
"coverageAnalysis": "perTest",
|
||||
"ignoreStatic": true,
|
||||
"mutate": [
|
||||
"src/core/**/*.ts",
|
||||
"src/core/**/*.tsx",
|
||||
"!src/core/**/*.spec.ts",
|
||||
"!src/core/**/*.test.ts"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user