-
Notifications
You must be signed in to change notification settings - Fork 24
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
JOSS review: testing #10
Comments
Hi @lheagy, sorry for the delay in the response. There is already a manual way to test the script. The way I check the different functions is by using the example file The file Having said this, I have a look at the examples you mention above (pytest & TravisCI), and I realize that the way I do tests is somewhat precarious. I could prepare some tests although this will take me some time. |
Hi @marcoalopez, thanks for your reply. As long as there is testing in place, that is fine for the submission. It is up to you if you would like to have automated testing in place prior to publishing the paper or if you would like to draft an issue outlining the steps you plan on taking and provide information in the documentation about how to run the tests (thanks for the update here - it is much more clear!). How would you like to proceed: Would you like to improve the testing before we move to publish? or outline a few more details in an issue and leave that for future work? Thanks! |
Hi @lheagy, I would rather leave this for a future work if possible, right now I have a lot of work accumulation and it would take me a while to implement the automatic tests. Anyway, I could provide more details on this in the documentation and open an issue as this is not very time-consuming. Thanks |
sounds like a plan! Feel free to close this issue when you are happy with the level of detail in the docs and have another issue started |
Hi @lheagy, I added a new section outlining the neccesary steps to manually test the script. I also added some information on this at the end of the Requirements & development section. |
I don't see a clear indication of
automated tests or manual steps described so that the function of the software can be verified
. Are there manual tests that can be run to check that the software is performing as expected?For example, if there are simple examples where you know what the output of a function should be, then you can test that. The
pytest
module is a good resource to check out for setting up testing: https://docs.pytest.org/en/latest/In addition, you can use a continuous integration service that will run the tests every time you update the code (or if a contributor suggests an update). This is a really helpful thing to do if you would like to invite others to participate in the development and maintenance of the code base. For example using TravisCI, there are GitHub instructions here: https://help.github.com/enterprise/2.14/admin/guides/developer-workflow/continuous-integration-using-travis-ci/
The text was updated successfully, but these errors were encountered: