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

Need to add unit tests for utility schemes #82

Open
nusbaume opened this issue Feb 24, 2024 · 0 comments
Open

Need to add unit tests for utility schemes #82

nusbaume opened this issue Feb 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nusbaume
Copy link
Collaborator

Given the implementation of a unit testing framework for the atmospheric_physics repo in PR #78, there is now an opportunity to create some unit tests for the various physics schemes inside the utilities directory.

This would be particularly beneficial because the tests done in CAM-SIMA are usually for an entire physics suite, where the utility schemes are grouped together, as opposed to each individual utility scheme as proposed here. Plus it would allow for additional test coverage for a PR without necessarily requiring the user to run CAM-SIMA.

@nusbaume nusbaume added the enhancement New feature or request label Feb 24, 2024
mwaxmonsky added a commit that referenced this issue Nov 14, 2024
Originator(s): @mwaxmonsky 

Summary (include the keyword ['closes', 'fixes', 'resolves'] and issue
number): Sets up the basic infrastructure to start enabling unit
testing. Addresses #82

Describe any changes made to the namelist: N/A

List all files eliminated and why: N/A

List all files added and what they do:
A       .github/workflows/code-coverage.yaml
A       test/unit-test/CMakeLists.txt
A       test/unit-test/include/ccpp_kinds.F90
A       test/unit-test/tests/CMakeLists.txt
A       test/unit-test/tests/utilities/CMakeLists.txt
A       test/unit-test/tests/utilities/test_state_converters.pf
- Initial round of infrastructure to start enabling unit tests.

List all existing files that have been modified, and describe the
changes: N/A
(Helpful git command: `git diff --name-status
development...<your_branch_name>`)

List any test failures: N/A

Is this a science-changing update? New physics package, algorithm
change, tuning changes, etc? No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To Do
Development

No branches or pull requests

1 participant