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

93 increase test coverage #101

Merged
merged 36 commits into from
Nov 8, 2024
Merged

93 increase test coverage #101

merged 36 commits into from
Nov 8, 2024

Conversation

eoyilmaz
Copy link
Owner

@eoyilmaz eoyilmaz commented Nov 7, 2024

The test coverage is now 99.94% and the 3 lines of code that the tests are not touching are related to Windows where I'm running the tests in macOS. So, practically Stalker is 100% covered with tests.

- [#93] Increased test coverage for `Asset`, `EntityGroup`, `Group`, `Link`, `LocalSession`, `Permission`, `SimpleEntity` and `User` classes.
- [#93] Replaced the less common usage of `can not` with a more common `cannot`.
…ng from `User.rate` and it is already validated over there.
…working as expected" and removed the overly used word "properly" from test names and doc strings.
…ssary call to `Task.update_schedule_info()` as it is already handled on the `Task` side.
…tor for the `reviews` attribute instead of `_reviews`.

* [#93] Removed the unused `Task._validate_start()` method.
@eoyilmaz eoyilmaz linked an issue Nov 7, 2024 that may be closed by this pull request
1 task
@eoyilmaz
Copy link
Owner Author

eoyilmaz commented Nov 7, 2024

Okay so, the test coverage was much lower than what I thought it was (99.96%). Because I was appending the coverage reports while doing my tests, and after updating the code continously for hours, the coverage report data had errorously marking uncovered lines as covered. So, in reality more lines were missing.

Anyways, I updated the tests and now the test coverage is really 99.67% . So again, we are practically covering 100% of the code with tests.

@eoyilmaz eoyilmaz merged commit c9d1245 into develop Nov 8, 2024
24 checks passed
@eoyilmaz eoyilmaz deleted the 93-increase-test-coverage branch November 8, 2024 00:04
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.

Increase Test Coverage
1 participant