geminiplanetimager / gpi_pipeline

Gemini Planet Imager Data Reduction Pipeline
Other
8 stars 6 forks source link

Automated Testing #101

Open mperrin opened 8 years ago

mperrin commented 8 years ago

The Keck OSIRIS development branch has already worked out how to connect pytest and IDL. Since the OSIRIS pipeline is one of the parents of the GPI data pipeline, it ought to be reasonably straightforward to port this stuff over.

https://github.com/Keck-DataReductionPipelines/OsirisDRP/tree/develop

mperrin commented 8 years ago

Looks like some amount of what's that subtree is equivalent to functionality we already have in gpipy - i.e. tools for parsing XML files etc. So we can use gpipy instead of that stuff.

mperrin commented 8 years ago

Notes - @mperrin will handle setup of infrastructure. @kfollette will make some tests. Let's assume for now the tests will run on a machine that has a local copy of the full Dropbox (e.g. at Berkeley, Cornell, or STScI) and a local working IDL.

Let's not worry about running this in the cloud on travis or anything like that. Once we have the basic test framework functional, we can use Github web hooks to trigger a local test run on one of our computers for every github commit. See https://developer.github.com/webhooks/

mperrin commented 8 years ago

End-to-end functional test suite

Implementation

semaphoreP commented 7 years ago

Is there anything left to do on this issue? I recall testing the testing code and being happy with the current state. I guess the one thing mentioned that we haven't done is adding a hook so that the tests are run locally on our machines?

mperrin commented 7 years ago

Yeah, the remaining task is setting up some continuous integration setup so these tests actually get executed semi regularly somewhere.