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

Add coverage to tests #594

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

timcallow
Copy link
Contributor

@timcallow timcallow commented Oct 25, 2024

Addressing issue #592

Since the coverage reports a number of 62%, I've set the --cov-fail-under parameter to 60%, i.e. the CPU tests will fail if the coverage dips below that.

We could use a third-party app like codecov if we want more functionality - for example then we could have a separate test for coverage. That's what I did for atoMEC. This could also be introduced in a future PR if considered useful. I'll leave it up to you @RandomDefaultUser

@timcallow timcallow linked an issue Oct 25, 2024 that may be closed by this pull request
@RandomDefaultUser
Copy link
Member

Hi @timcallow, thanks for the PR, looks great!

I would merge it as is from the code side, but have a few clarifying questions about the process as a whole:

  1. Does a threshold of 60% mean we should add more tests? It probably does.
  2. What would be the advantages of a third party app? Are there disadvantages? At first glance it sounds like a good idea, and I would be very open to it! Feel free to answer these questions about the third party app in a new issue to document it.

@RandomDefaultUser RandomDefaultUser merged commit 33e319b into mala-project:develop Oct 25, 2024
5 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.

Add coverage to tests
2 participants