a SuperTest API automation testing demo project with Jest
- Nodejs, I'm using v21.1.0.
- SuperTest, I'm using version 6.3.3.
- Jest, I'm using the latest version 29.7.0.
- SuperTest
- Jest
- jest-html-reporters
- GitHub action
SuperTest-Jest-demo
βββ README.md
βββ package.json
βββ package-lock.json
βββ Config // TEST configuration file
β βββ config.js
βββ Config // TEST data file
β βββ requestData.js
β βββ responseData.js
βββ Specs // TEST case file
β βββ test.spec.js
βββ Utils // TEST tool file
β βββ utils.js
βββ Report // TEST report file
β βββ report.html
βββ .gitignore
βββ node_modules // Project dependencies
node run test
- Just add a new test case in the Specs directory.