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

Separate OpenTurbine tests into unit and regression test folders/executables #232

Open
ddement opened this issue Aug 1, 2024 · 0 comments
Assignees
Labels
code-quality Tasks such as code formatting improvements, style guideline adherence, refactoring etc. testing Related to unit tests, regression tests etc.

Comments

@ddement
Copy link
Collaborator

ddement commented Aug 1, 2024

Task: Move regression tests into their own folder and build separate executable(s) for them.

Why:

  1. Historically, we've comingled our regression tests and our unit tests, making it hard to run just one or the other.
  2. Our regression tests often have features for writing to disk, visualization, or loading shared libraries, which make it hard for our testing executable to quickly run anywhere.
  3. Much of our code test coverage is provided only by regression tests. Separating the tests will allow us to quantify our unit test coverage and expand it intelligently.

Done means:

  1. The tests are properly organized into their own folders and executables.
  2. All tests run when ctest is called.
@ddement ddement added code-quality Tasks such as code formatting improvements, style guideline adherence, refactoring etc. testing Related to unit tests, regression tests etc. labels Aug 1, 2024
@ddement ddement self-assigned this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-quality Tasks such as code formatting improvements, style guideline adherence, refactoring etc. testing Related to unit tests, regression tests etc.
Projects
None yet
Development

No branches or pull requests

1 participant