@mtravis So the way this works is that you should write tests in Python, give them a filename starting test_, and put them in test. There are already some there which are provided out of the box by the Plugin Builder. You can then either run those tests individually to check they pass, or use nose to run them all at once.
@akbargumbira (I think) wrote a post describing how to run such tests on Windows, but generally, they only run on Linux/Mac.
Here's an initial list of possible tests, to expand as we think of more:
@mtravis So the way this works is that you should write tests in Python, give them a filename starting
test_, and put them intest. There are already some there which are provided out of the box by the Plugin Builder. You can then either run those tests individually to check they pass, or usenoseto run them all at once.@akbargumbira (I think) wrote a post describing how to run such tests on Windows, but generally, they only run on Linux/Mac.
Here's an initial list of possible tests, to expand as we think of more:
xy_to_osgbgives a correct resultxy_to_osgboutside BNG coverage behaves gracefullyxy_to_osgbwith different precision gives results with the correct precision