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

[FEAT] output file unit tests #87

Open
aburrell opened this issue Jul 13, 2022 · 0 comments
Open

[FEAT] output file unit tests #87

aburrell opened this issue Jul 13, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@aburrell
Copy link
Contributor

Is your feature request related to a problem? Please describe.
There are no unit tests

Describe the solution you'd like
The creation of a unit test suite.

To start, unit tests for the output files.

Possible test runner: http://cxxtest.com/guide.html
Blog about possibilities: https://www.typemock.com/unit-testing-with-c/

The test for the aether output files would:

Create a file
Test the contest by:
A) using ncdiff (https://linux.die.net/man/1/ncdiff) against saved file
B) opening the file and checking the contents against expected names, dimensions, and values

Describe alternatives you've considered
Not having tests and allowing things to break when things start getting really complicated.

Additional context
We said we'd follow modern coding practices, and this is one of them.

@aburrell aburrell added the enhancement New feature or request label Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant