Introduction:
ExampleBDD is an Android application that demonstrates how to implement Behavior-Driven Development (BDD) testing for Android applications using Cucumber, Espresso, and Gherkin. BDD is an agile software development technique that promotes collaboration between developers, testers, and stakeholders to create a shared understanding of the application's behavior.
Project Setup:
- Clone the repository to your local machine.
- Open the project in Android Studio.
- Add required dependencies in the build.gradle file.
- Enable Jetifier for AndroidX compatibility.
Features:
ExampleBDD includes:
Login: Performs login using username and password and validates the login status.
How to Run:
- Set up an Android Instrumented Test configuration in Android Studio.
- Run the test configuration to execute the BDD tests.
- Writing Scenarios
- Extend the test suite by writing Gherkin scenarios in login.feature file using Scenario Outline.
Contact:
Tushar M Shetty
Email: tusharmshetty@gmail.com