Skip to content

Commit 4b6664b

Browse files
committed
Update package.json with comprehensive chaos testing scripts
- Individual test suites for each chaos perspective - Combined test:chaos:all for full security validation - CI scripts for security and performance testing - Organized test execution for systematic vulnerability discovery
1 parent eaf5712 commit 4b6664b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

packages/mcp-server/package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,20 @@
1515
"test:chaos:comprehensive": "vitest --run tests/comprehensive-chaos.test.ts",
1616
"test:chaos:real": "vitest --run tests/real-chaos-testing.test.ts",
1717
"test:chaos:multi": "vitest --run tests/multi-perspective-chaos.test.ts",
18+
"test:chaos:distributed": "vitest --run tests/distributed-systems-chaos.test.ts",
19+
"test:chaos:concurrency": "vitest --run tests/concurrency-chaos.test.ts",
20+
"test:chaos:filesystem": "vitest --run tests/filesystem-io-chaos.test.ts",
21+
"test:chaos:network": "vitest --run tests/network-protocol-chaos.test.ts",
22+
"test:chaos:performance": "vitest --run tests/performance-chaos.test.ts",
23+
"test:chaos:resources": "vitest --run tests/resource-exhaustion-chaos.test.ts",
24+
"test:chaos:all": "npm run test:chaos:real && npm run test:chaos:multi && npm run test:chaos:distributed && npm run test:chaos:concurrency && npm run test:chaos:filesystem && npm run test:chaos:network && npm run test:chaos:performance && npm run test:chaos:resources",
1825
"chaos": "./scripts/chaos-test.sh",
1926
"lint": "eslint src --ext .ts",
2027
"typecheck": "tsc --noEmit",
2128
"clean": "rm -rf dist coverage",
22-
"ci:full": "npm run lint && npm run typecheck && npm run test && npm run test:chaos:real"
29+
"ci:full": "npm run lint && npm run typecheck && npm run test && npm run test:chaos:all",
30+
"ci:security": "npm run test:chaos:multi && npm run test:chaos:network && npm run test:chaos:resources",
31+
"ci:performance": "npm run test:chaos:performance && npm run test:chaos:concurrency && npm run test:chaos:distributed"
2332
},
2433
"dependencies": {
2534
"@graphdone/core": "*",

0 commit comments

Comments
 (0)