This project demonstrates the principles of Test Driven Development (TDD) by utilizing JUnit testing to write methods for a custom ArrayList implementation. The focus is on creating methods for adding, retrieving, and resizing elements within the ArrayList, ensuring that each method meets its requirements through rigorous testing.
Test Driven Development promotes better software design and code quality by writing tests before the actual code. This approach helps identify edge cases and ensures that the code is functioning as intended. This project showcases the effectiveness of TDD in creating a reliable and maintainable custom data structure.
To explore the TDD project:
- Clone the repository.
- Open the project in an IDE (e.g., IntelliJ IDEA or Eclipse).
- Run the JUnit tests to see the results of the test-driven development process.
- Each method of the custom ArrayList is tested through corresponding JUnit test cases.
- Modify the test cases or the implementation to see how changes affect the functionality and test outcomes.
If you'd like to contribute to the Test Driven Development project, follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Make your changes and commit (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Submit a pull request for review.
- Java
- JUnit