Compare commits

...
4 changed files with 872 additions and 929 deletions

No files matched your search

+35
View File
@@ -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
+2
View File
@@ -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",
+811 -929
View File
File diff suppressed because it is too large. Load diff
+24
View File
@@ -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"
]
}