Skip to content

Add test coverage requirements - #8

Merged
fillipe-gsm merged 8 commits into
masterfrom
7-add-test-coverage-report-and-check
Nov 1, 2025
Merged

Add test coverage requirements#8
fillipe-gsm merged 8 commits into
masterfrom
7-add-test-coverage-report-and-check

Conversation

@fillipe-gsm

@fillipe-gsm fillipe-gsm commented Nov 1, 2025

Copy link
Copy Markdown
Owner

Handles #7


This pull request adds the requirement to satisfy at least 95% of coverage in the tests.

Proper files and code parts were excluded, while the entrypoint app had a test file created.

I will exclude the `main.py` file as it is a test script
Also, we don't need to test `__str__` everywhere as it is more of a
debugging resource here.
These tests are less useful because the functions simply call
controllers, which are already tested.

However, they act as sanity check that everything was called correctly
from the user's point of view.
These functions are useful for visualization aid for the user, but they
reallly cannot be tested simply.

Hence, instead of adding hacks, it is better to just skip them
@fillipe-gsm
fillipe-gsm merged commit 0171c9d into master Nov 1, 2025
4 checks passed
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.

1 participant