-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "enterprise-api-framework",
"version": "1.0.0",
"description": "Enterprise-grade API test framework — Mocha + Supertest + Chai + k6 with data-driven testing, performance benchmarks, and CI/CD integration.",
"main": "index.js",
"scripts": {
"test": "mocha 'tests/**/*.test.js' --recursive --timeout 30000 --exit --ignore 'tests/performance/**' --reporter mocha-multi --reporter-options spec=-,allure-mocha=-",
"test:smoke": "mocha 'tests/smoke/**/*.test.js' --timeout 30000 --exit --reporter mocha-multi --reporter-options spec=-,allure-mocha=-",
"test:regression": "mocha 'tests/regression/**/*.test.js' --timeout 30000 --exit --reporter mocha-multi --reporter-options spec=-,allure-mocha=-",
"test:integration": "mocha 'tests/integration/**/*.test.js' --timeout 30000 --exit --reporter mocha-multi --reporter-options spec=-,allure-mocha=-",
"test:ddt": "mocha 'tests/data-driven/**/*.test.js' --timeout 30000 --exit --reporter mocha-multi --reporter-options spec=-,allure-mocha=-",
"report:allure:generate": "allure generate allure-results --clean -o allure-report",
"report:allure:open": "allure open allure-report",
"report:allure": "npm run report:allure:generate && npm run report:allure:open",
"push:testrail": "node scripts/push-to-testrail.js",
"push:testrail:dry": "node scripts/push-to-testrail.js --dry-run",
"perf:smoke": "k6 run tests/performance/smoke.js",
"perf:load": "k6 run tests/performance/load.js",
"perf:stress": "k6 run tests/performance/stress.js",
"perf:all": "npm run perf:smoke && npm run perf:load && npm run perf:stress",
"mock:start": "node mock-server/server.js",
"generate:tests": "node scripts/generate-tests.js",
"generate:flows": "node scripts/generate-flows.js",
"enhance:tests": "node scripts/enhance-tests.js"
},
"keywords": [
"api-testing",
"mocha",
"supertest",
"chai",
"k6",
"performance-testing",
"allure",
"testrail",
"enterprise",
"qa-automation"
],
"author": "Vidhya Sasidharan",
"license": "MIT",
"devDependencies": {
"@faker-js/faker": "^10.3.0",
"allure-commandline": "^2.36.0",
"allure-mocha": "^3.4.5",
"chai": "^4.4.1",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"mocha": "^10.8.2",
"mocha-multi": "^1.1.7",
"supertest": "^7.0.0",
"uuid": "^11.1.0"
},
"directories": {
"test": "tests"
}
}