Codebase Enhancement through Unit Testing
- Mentors
- Sebastian Garcia, Alya Gomaa
- Organization
- Stratosphere Laboratory, Czech Technical University in Prague
- Technologies
- python, github, Pytest, unitttest, coverage.py
- Topics
- unit testing, Continuous Integration (CI), Continuous Deployment (CD), Test Automation
Currently, the codebase lacks comprehensive unit testing coverage for all critical components, and the existing unit tests do not provide adequate coverage. The primary objective of this project is to augment unit test coverage for essential files, aiming to achieve a coverage range of 90% to 95%. Subsequently, these unit tests will be seamlessly integrated into the existing GitHub continuous integration and continuous deployment (CI/CD) pipeline.
The CI pipeline is presently triggered on each pull request to the 'develop' branch. However, merging is contingent upon the successful execution of these tests, which can be manually triggered by either the maintainers or the developers locally. The overarching goal is to establish an automated testing framework, ensuring that no code is merged unless it passes all requisite tests, with the exception of documentation or non-code-related pull requests.