Skip to content

T4: Add Postman API testing + CI workflow#63

Merged
hc8756 merged 4 commits intomainfrom
api-testing-and-ci
Dec 1, 2025
Merged

T4: Add Postman API testing + CI workflow#63
hc8756 merged 4 commits intomainfrom
api-testing-and-ci

Conversation

@jag2430
Copy link
Collaborator

@jag2430 jag2430 commented Dec 1, 2025

Add Automated API Testing and CI Pipeline Enhancements

Overview

This PR introduces a complete API testing workflow and upgrades our CI pipeline to meet the project requirements for automated testing, style checking, static analysis, and coverage reporting.

Changes Made

  • Postman API test suite added under postman/

    • postman_collection.json
    • postman_environment.json
  • Newman-based API testing job added to GitHub Actions

    • Spins up Postgres
    • Builds and runs the Spring Boot service
    • Executes the full Postman collection
    • Generates HTML + JUnit reports
  • Updated CI pipeline (.github/workflows/ci.yml) now runs:

    • Unit tests
    • Integration tests
    • API tests (Newman)
    • JaCoCo coverage reporting
    • Checkstyle and PMD static analysis
    • Build summary aggregation

Summary

This PR completes the requirements for automated API testing and continuous integration:

  • Validates all endpoints
  • Enforces style and static analysis tools
  • Confirms data flow across controllers, services, and the database
  • Provides fully automated CI feedback on every PR

@hc8756 hc8756 merged commit 5ce1285 into main Dec 1, 2025
6 checks passed
hc8756 added a commit that referenced this pull request Dec 1, 2025
This reverts commit 5ce1285, reversing
changes made to cb4f89e.
ggracelii added a commit that referenced this pull request Dec 1, 2025
Revert "Merge pull request #63 from hc8756/api-testing-and-ci"
hc8756 added a commit that referenced this pull request Dec 1, 2025
Revert "Revert "Merge pull request #63 from hc8756/api-testing-and-ci""
@jag2430 jag2430 changed the title Add Postman API testing + CI workflow T4: Add Postman API testing + CI workflow Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants