- BDD-Style API Testing: Leverages Cucumber for plain language feature files, making tests accessible and readable for everyone involved in the development process.
- REST Assured Integration: Employs REST Assured for simplifying HTTP calls and assertions in Java.
- Modular Structure: Organized package layout for features, step definitions, runners, and utilities, following industry best practices.
- Junit Support: Test execution managed via Junit and Maven.
- Extensible Design: Easily add new endpoints, scenarios, and step definitions as your API evolves.
- Reporting: Integrates with reporting tools for clear test results (with options like ExtentReports).
APICucumberProject
βββ src
β βββ main/java # Application code (if any)
β βββ test/java
β βββ features # Gherkin .feature files
β βββ stepdefinitions # Step Definitions
β βββ runners # Test Runner classes (JUnit)
β βββ utils # Utility/helper classes
βββ src/test/resources # Additional resources/data
βββ pom.xml # Maven build configuration
βββ README.md # Documentation
- Java 8 or newer
- Maven 3.6+
- IDE (IntelliJ IDEA, Eclipse, etc.)