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

Improve testings / provide examples #11

Open
mnlevy1981 opened this issue Feb 9, 2014 · 0 comments
Open

Improve testings / provide examples #11

mnlevy1981 opened this issue Feb 9, 2014 · 0 comments
Assignees

Comments

@mnlevy1981
Copy link
Contributor

Testing should be split into two directories:

  1. regression tests -- basically all of the tests we have now are regression tests
  2. unit tests -- testing at a very basic level. Do things like ensure cvmix_put and cvmix_get write to the proper place, the initialization routines provide the expected default values, etc etc.

Also, should provide some light-weight examples for both stand-alone single column cases and (if possible) an outline of steps needed to import into a pre-existing ocean model.

Random thoughts:

  1. Examples could build libcvmix.a out of src/shared/ and then link a simple driver from each subdirectory
  2. src/drivers/ could be thought of as src/reg_tests/
  3. What's the best way to build unit tests? All in single Fortran file (that, like examples, would only depend on libcvmix.a)? Should we require pfunit?
  4. We should really look into automating the regression tests across a handful of machines / compilers.
@mnlevy1981 mnlevy1981 added this to the First public release milestone Feb 9, 2014
@mnlevy1981 mnlevy1981 self-assigned this Feb 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant