Open ekluzek opened 6 months ago
I very much support the addition of unit tests where appropriate.
Currently there is some unit test infrastructure in CIME that drives the share code unit tests and used to drive the cpl7 unit tests... so it could make sense to integrate the driving of CMEPS into there.
OK, sounds good.
In #429 I propose that I create a new test subdirectory under cesm/nuopc_cap_share and move the unit-tester I put under CTSM to there:
For the CTSM PR I'll still build it as one of the CTSM unit-tests. I think this change will be easy for me to make.
In the future as you point out it would be good to have the infrastructure in CMEPS to run unit tests there. But, I'll let someone else figure that out and get it working.
How does that sound as a plan @billsacks?
That sounds fine - thanks @ekluzek .
In #429 I added new code and a unit-tester for it under the CTSM PR that uses it. I'm wondering if unit-testers is something that should be added to CMEPS? Initially maybe the way to go would be to have the unit-tester in CMEPS, but still use the CTSM infrastructure to build and run it?
@billsacks thoughts on this?