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 unit testing #84

Merged
merged 12 commits into from
Jun 6, 2024
Merged

Add unit testing #84

merged 12 commits into from
Jun 6, 2024

Conversation

JosePizarro3
Copy link
Collaborator

@JosePizarro3 JosePizarro3 commented Jun 5, 2024

Fixing, improving, and adding new testing for all the sections and methods defined so far.

I am also explicitly defining inputs to methods now, to make it more clear when calling them.

Closes #9

Added explicitly input for methods in ModelSystem and testing

Added testing for _set_system_branch_depth and TODO for the functions in these testings which should be implemented in the datamodel
@JosePizarro3
Copy link
Collaborator Author

@JFRudzinski @ndaelman-hu @Bernadette-Mohr

Please, be aware of this. No need to do a review of this.

Important: I created a script to generate a coverage report with some comprehensive coverage of each of the src/ modules. You can run ./scripts/generate_coverage_txt.sh and this will regenerate the artifact coverage.txt in the root folder.

I think the content of that file is self-explanatory, but I asked Ahmed Ilyas to provide more support on the current Coverage, as the reports in PR requests are pretty cryptic.

@nomad-coe nomad-coe deleted a comment from coveralls Jun 6, 2024
@nomad-coe nomad-coe deleted a comment from coveralls Jun 6, 2024
@nomad-coe nomad-coe deleted a comment from coveralls Jun 6, 2024
@nomad-coe nomad-coe deleted a comment from coveralls Jun 6, 2024
@JosePizarro3 JosePizarro3 merged commit 73ddc7f into develop Jun 6, 2024
4 checks passed
@JosePizarro3 JosePizarro3 deleted the 9-add-unit-testing branch June 6, 2024 12:27
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.

Adding unit testing
1 participant