Skip to content

Commit 9d63be6

Browse files
committed
Update README with CI reports instructions
1 parent 31f1876 commit 9d63be6

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
![API Smoke](https://github.com/Zion8a/api-testing-newman-ci/actions/workflows/api-smoke.yml/badge.svg)
1+
![API Smoke](https://github.com/Zion8a/api-testing-newman-ci/actions/workflows/api-smoke.yml/badge.svg)
2+
3+
# API Smoke Tests (Postman + Newman + GitHub Actions)
4+
5+
This repo demonstrates how I design and automate API smoke tests using Postman, run them locally with Newman, and execute them in CI with GitHub Actions including test reports as artifacts.
6+
7+
## What this repo demonstrates
8+
- API smoke suite versioned in Git (Postman Collection v2.1 JSON)
9+
- Environment-driven configuration (`baseUrl`, dynamic `bookingId`)
10+
- Newman CLI execution with reports (HTML + JUnit XML)
11+
- GitHub Actions CI that uploads reports as artifacts (`newman-reports`)
12+
13+
## Tech
14+
- Postman Collection (v2.1)
15+
- Newman (CLI)
16+
- GitHub Actions (CI)
17+
- Reporters: htmlextra (HTML), junitfull (JUnit XML)
18+
19+
## Run locally
20+
```bash
21+
npm ci
22+
npm run api:smoke

0 commit comments

Comments
 (0)