ESCOMP / ESCOMP/CAM-SIMA

Need to add "preview_namelists" unit tests in order to test buildnml

Open
#200 1 comment 0 reactions 0 assignees View on GitHub
enhancement Github action testing system
Dominant language
No language data
Stars
9
Forks
22
Avg merge
8d 5h
Merged PRs (30d)
4

Description

Currently there are no unit tests for `buildnml` in the automated testing framework, nor are there any integration tests for the complete model configuration/code generation/namelist generation system.

To resolve this issue, it would be beneficial to create some tests where the model is setup all the way through the `preview_namelists` step, and then the resulting generated files are checked to make sure they match what is expected.

Also, given that all of this will theoretically go through only the python code, the tests should be easily runnable in a Github Actions workflow. This workflow can also be designed such that it only runs if the standard python unit tests workflow passes successfully.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.