Closed
Description
Here are some ideas that I have about adding image comparison unit test. I want to get some input about this before I do too much coding on this.
- Improve the examples/ to take CLI arguments that will plot to files when given
--plot-file
, and not display the plot to the screen when given--no-display
. (--no-display
is so that Travis will not get hung by any required interactivity.) - Create new image comparison unittests that call the examples/.
- Since the examples/ are not installed, the unit tests should not be installed?
Or should the unit tests be installed? If they are installed it will add a few megabytes of test PNG images that will only be used when test() is called.
I am leaning towards not installed image comparison unit tests. Any thoughts? Is there something that I may not be considering?
I hope that this might lead to enough unittesting that could allow us to start the process of rewriting portions of the basemap code.
Metadata
Metadata
Assignees
Labels
No labels