Open crbates opened 10 years ago
I completely agree that we need some sort of mock environment. However, there are a couple of things that you can do now to test locally (though github and batlab are needed). These could be better documented.
The first is that the there is a --debug
mode which will launch a simple http server that flask uses and will be pointed to local host. The second is that you can always use the test-polyphemus repo for testing and we have a suite of no-op batlab scripts as well. These two things were how polyphemus was developed.
Mocking up other features and having a testing framework would be great. I am not an expert on how to do this with web services though....
As far as I can tell there is currently no real way to support local testing/development of polyphemus without having github and batlab hooked up. A development mode for these plugins would be nice that would provide dummy issues, results, etc.