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

Generalised tests #553

Open
rieder opened this issue Dec 17, 2019 · 0 comments
Open

Generalised tests #553

rieder opened this issue Dec 17, 2019 · 0 comments

Comments

@rieder
Copy link
Member

rieder commented Dec 17, 2019

Currently we have tests for all individual community codes. These replicate large portions of each other, especially codes in the same domain.
It would be good to have generalised tests available that can run for all codes (within a domain).
These could include basic tests (does a code initialise/stop/set parameters), but perhaps also sanity checks (is the result like expected).
If this is possible, the latter of these should probably not result in "hard" fails, but in warnings (e.g. "do not use this code for this kind of problem"). Alternatively, the test could be overridden by a specific code test, or ignored for a specific code.

rieder added a commit that referenced this issue Jul 3, 2020
Add generalised tests for gravitational dynamics codes, starting with ph4 and Hermite.
More tests can be added in this way.
Solves #553
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