Hey everyone,
I recently joined a team working on a Spring Boot application that's about 3 years old. I've been on board for about a month and a half, and I'm currently tackling our testing backlog.
We need to implement a Non-Regression Testing (TNR) suite for our API. The project has over 100 endpoints, and because it's a few years old, manual regression testing is becoming a nightmare.
I'm trying to figure out the best approach to automate this and tie it into our GitHub Actions CI pipeline. Right now, I'm weighing a few options:
OpenAPI/Swagger + Postman + Newman: We already have Swagger enabled, and I exported the raw /v3/api-docs JSON. I could theoretically import this into Postman, generate a collection, and run it via Newman inside GitHub Actions.
Python (pytest + requests): Writing a custom test suite in Python from scratch to hit the critical endpoints.
Spring Boot Native Tests (MockMvc / RestAssured): Writing integration tests directly inside the codebase.
Since I only have a couple of days allocated for this task and we have over 100 endpoints (many of which I didn't write since I'm relatively new to the codebase), what is the most pragmatic, industry-standard way to tackle this without spending weeks writing boilerplate?
Curious to hear how others handle TNR on medium-to-large legacy Spring Boot APIs. Thanks!