Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week5: Demo proposal #2403

Closed
wants to merge 1 commit into from
Closed

Week5: Demo proposal #2403

wants to merge 1 commit into from

Conversation

Tian0602
Copy link
Contributor

@Tian0602 Tian0602 commented Sep 4, 2024

Assignment Proposal

Title

Automating Code Coverage Analysis in CI Pipeline

Names and KTH ID

Deadline

  • Week 5

Category

  • Demo

Description

This project aims to integrate a code coverage analysis tool (such as JaCoCo or Emma) into a CI pipeline. The coverage analysis will provide insights into the proportion of code exercised by tests, ensuring the robustness of the application. Additionally, the project will automate the process of saving coverage reports to the cloud, enabling historical comparisons and trend analysis.

Stretch Goal: Automate the entire process using GitHub Actions, ensuring that every code change triggers a coverage analysis and stores the results automatically.

Relevance

Code coverage is crucial for assessing the effectiveness of unit tests in covering the codebase. While running tests is essential, it’s equally important to understand which parts of the code are tested and which are not. This helps in identifying untested areas, reducing the risk of bugs. By integrating code coverage into the CI pipeline, we ensure that every change is scrutinized not only for correctness but also for completeness in terms of testing.

Additionally, by storing historical coverage data, teams can track their progress in improving test coverage over time. This historical perspective can be valuable in understanding the impact of refactoring, adding new features, or making other significant changes to the codebase.

@sofiabobadilla sofiabobadilla changed the title Week5: Demo proposol Week5: Demo proposal Sep 4, 2024
@sofiabobadilla
Copy link
Collaborator

Hi @Tian0602 , Peiyang
I could not really understand how the proposal relates to week 5: Infrastructure as Code (#2).
Could you elaborate?

@Tian0602
Copy link
Contributor Author

Tian0602 commented Sep 4, 2024

Hi @Tian0602 , Peiyang I could not really understand how the proposal relates to week 5: Infrastructure as Code (#2). Could you elaborate?

I'm sorry, I didn't realize that we needed to match the topic for the week.

@Tian0602 Tian0602 closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants