NRLMMD-GEOIPS / geoips

Main Geolocated Information Processing System code base with basic functionality enabled.
https://nrlmmd-geoips.github.io/geoips/
Other
13 stars 10 forks source link

Create a new tests plugin interface for GeoIPS. #514

Open jsolbrig opened 2 months ago

jsolbrig commented 2 months ago

:rainbow: Overview

GeoIPS uses tests to make sure we don't break things by changing the code or succumbing to the battalion of progress (aka installing updates). Some of those tests are integration tests, which test more than just the code - they test how well (or not well) GeoIPS code integrates into an OS, with packages, with data, etc. They're a "real world test". Right now, they're all shell scripts that call geoips run. That's gross; also it's often OS dependant, and means we have to ship .sh files instead of pure python. It also means we can't test the tests, or use any of our python magic on them.

Goal

Introduce a new GeoIPS interface for integration tests.

:microscope: Scope

Define the boundaries of the project:

:family: Related

❓ Alternative Solutions

If we do need to directly call the CLI as part of some unit tests, consider solutions other than calling subprocess if possible. If not, use subprocess as judiciously as possible.

🥇 Defining Done