-
Notifications
You must be signed in to change notification settings - Fork 5
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
Draft: unit testing #9
base: develop
Are you sure you want to change the base?
Conversation
What if we added a (few) simple In this way, we could use the existing testing infrastructure, just throwing a |
My thought was that this approach would do something quite similar to that, except with our own quick custom no-timestepping driver (like the I absolutely agree we want to have all the package initialize functions called for all the tests so we don't waste time trying to set up a boutique environment for every test -- that's the basic goal of what I'm trying to do here. |
Sounds great :) Sounds like we are on the same page. Wonder if we can keep everything as you have it here, but make it callable by the |
It'd be great to have a harness for unit testing. One way to do this would be to have a separate unit tests executable that can be build optionally, and calls a bunch of individual test functions. These test functions could call some utility libraries to build up a basic driver and mesh, so we can call any of our existing functions without much trouble, and then just compare results of individual functions with known results (e.g.
x1v
in different geometries at different points in space.