This repository provides a Behavior-Driven Development (BDD) framework for testing the BestBuy API using Java. The framework integrates BDD principles with API testing to create a structured and readable way of verifying API functionality.
- BDD Style Testing: Write API tests in a natural language style using Cucumber and Java.
- API Testing: Perform end-to-end testing of the BestBuy API endpoints.
- Customizable: Easily extend and configure the framework for different API endpoints and scenarios.
- Detailed Reports: Generate comprehensive test reports to analyze the test results.
- Java Development Kit (JDK) 8 or higher
- Maven (for dependency management)
- Cucumber for Java
- REST-assured (for API testing)
- 
Clone the Repository: git clone https://github.com/lkumarra/BestBuy_API_BDD_Java.git cd BestBuy_API_BDD_Java
- 
Install Dependencies: mvn install 
- 
Configure API Endpoints: Update the API endpoint configurations in src/test/resources/api_config.propertiesto match your BestBuy API settings.
- 
Configure Cucumber: Edit src/test/resources/cucumber.propertiesto set up Cucumber options and hooks.
Run the following command to execute your BDD tests:
mvn test