Thanks to visit codestin.com
Credit goes to github.com

Skip to content

new image comparison unit tests #253

Closed
@micahcochran

Description

@micahcochran

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions