question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add tests for scripts in io.fits

See original GitHub issue

Tests 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:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
pllimcommented, Sep 28, 2017

All the checkboxes are checked, so closing.

2reactions
MSeifert04commented, Mar 3, 2017

@mohanagr Is there a need to test exceptional (or warning) cases? Aren’t these already tested in the not-script-version of the script?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found