Cavenfish / autogamess

This is a python module for automating Raman calculations using GAMESS(us).
MIT License
9 stars 8 forks source link

More detailed description of test case #4

Closed Andrew-S-Rosen closed 5 years ago

Andrew-S-Rosen commented 5 years ago

This is part of the JOSS Review.

Required for consideration in JOSS There is currently no description of what test cases are available, how to run them, and what the expected output is. I see functions to test the code in the /tests directory, but is there a script that runs each test automatically to confirm everything is working properly? It currently looks like it's just a list of individual functions.

Optional suggestions Also, with a test code is provided, it would also be helpful for the user if there is some feedback as to what is going on when the test case is run (beyond it just crashing if an assertion fails). For instance, something printed to the screen saying "Running test case: building input" followed by "Success" or something to let the user know that test passed (and so on).

While not a requirement for acceptance, it would improve the code if the test cases were run automatically with each commit (e.g. as part of Travis CI). This may be worth thinking about in the future, especially if new features are to be added to AutoGAMESS.

Cavenfish commented 5 years ago

I have a very basic description of how to run the tests in the CONTRIBUTE.md . I can also add this to the README.md, and will add some descriptive outputs in the functions soon.