docs: add P0 summary report and update README with test docs
- Add comprehensive P0 summary report (.sisyphus/evidence/p0-summary.md) - Update README.md with test infrastructure links and examples - Add coverage thresholds to vitest.config.ts (global 70%, core 80%) - Document 41.5% performance improvement (7.65s → 4.49s) Related: test-optimization-p0 task-18
This commit is contained in:
@@ -18,7 +18,27 @@ export default defineConfig({
|
||||
bail: process.env.CI ? 1 : undefined,
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json', 'html']
|
||||
reporter: ['text', 'json', 'html', 'lcov'],
|
||||
thresholds: {
|
||||
global: {
|
||||
branches: 60,
|
||||
functions: 70,
|
||||
lines: 70,
|
||||
statements: 70
|
||||
},
|
||||
'src/main/services/erp/**': {
|
||||
branches: 70,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80
|
||||
},
|
||||
'src/main/services/update/**': {
|
||||
branches: 70,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user