Add tests for scripts in io.fits
See original GitHub issueTests are needed for astropy/io/fits/scripts/
-
astropy/io/fits/scripts/fitsdiff.py
-
astropy/io/fits/scripts/fitscheck.py
-
astropy/io/fits/scripts/fitsheader.py
Citing @bsipocz: "Having broken command line tools is much much worse than not having them at all". Very true 😉
cc @MSeifert04
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
How to do unit testing of functions writing files using Python's ...
Usually, you would just pick one, depending on what methods are available on the class to test. import os from io import StringIO...
Read more >Verification — Astropy v5.2
Verification¶. astropy has built in a flexible scheme to verify FITS data conforming to the FITS standard. The basic verification philosophy in astropy...
Read more >Node.js Unit Testing: Get Started Quickly With Examples
Unit testing improves your code's quality and confidence. Find bugs early on in the software development lifecycle with a Node.js unit test.
Read more >Writing tests | Postman Learning Center
You can write test scripts for your Postman API requests in JavaScript. ... To add tests to a request, open the request and...
Read more >Get started with unit testing - Visual Studio (Windows)
Open the solution that contains the code you want to test. · Right-click on the solution in Solution Explorer and choose Add >...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
All the checkboxes are checked, so closing.
@mohanagr Is there a need to test exceptional (or warning) cases? Aren’t these already tested in the not-script-version of the script?