This project demonstrates the implementation of functional tests for a music streaming service using Cucumber and JUnit.
The primary goal of this project is to create a suite of functional tests that verify the behavior of a music streaming service. The tests are written using the Cucumber framework and are executed using the JUnit test runner. This combination allows for writing clear, concise, and human-readable test scenarios while leveraging the power and flexibility of JUnit.
- Cucumber: A Behavior-Driven Development (BDD) framework that enables writing functional tests in a natural language format.
- JUnit: A widely-used testing framework for Java applications that provides a set of annotations and assertions for writing and running tests.
The following features of the music streaming service are tested using Cucumber scenarios:
- Searching for music tracks by title
- Playing a selected music track
- Creating an album containing multiple music tracks
To run the functional tests, follow these steps:
- Clone the repository.
- Open the project in your preferred Java IDE (such as IntelliJ IDEA or Eclipse).
- Ensure that you have the required dependencies installed (Cucumber and JUnit).
- Run the Cucumber test suite using the JUnit test runner (typically by right-clicking the Cucumber test class and selecting "Run").
If you would like to contribute to this project or suggest new functional tests, please submit a pull request or create an issue with your ideas.