-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tests #23
Comments
@Edenhofer We will explore the best way to give unit tests in the next few days --- this is the final piece of the revision as the rest of the comments have been all reflected in the library. |
@Edenhofer - https://ehtjulia.github.io/ScatteringOptics.jl/v0.1.4/diffractive As @kazuakiyama wrote, the julia code blocks are executed upon each commit to GitHub, which will automatically keep updating the outputs with respect to the updates in the package. In addition to the plots that @kazuakiyama mentioned, the documentation further produces the corresponding image data and some numerical array for the scattering kernel in the community standard formats FITS and HDF5, respectively. We provide links to those data in the tutorial pages, where users can download and compare with their own outputs. We now include two different types of input models in the tutorial (one provided fits file and one Gaussian model that users can generate themselves using VLBISkyModels.jl), which will also help user tests. Thanks for the helpful suggestions! |
This is great! The documentation is now much more accessible and I can reproduce the demos without issues. One final remark: I think it is fantastic that the code within the documentation is automatically run as part of the CI but I think it would be great if the essential parts therein would also be proper unit tests such that errors can be flagged automatically. |
@Edenhofer |
I think it is totally fine if the documentation and the test share a lot of code. I'm merely advocating for some form of unit tests :) |
I think it would be great if the repository would include some basic tests of the software as well as, e.g., an end-to-end test of a demonstration script.
Part of openjournals/joss-reviews#6354 .
The text was updated successfully, but these errors were encountered: