- pygmt.test(doctest=True, verbose=True, coverage=False, figures=True)
Run the test suite.
doctest (bool) – If
True, will run the doctests as well (code examples that start with a
>>>in the docs).
verbose (bool) – If
True, will print extra information during the test run.
coverage (bool) – If
True, will run test coverage analysis on the code as well. Requires
figures (bool) – If
True, will test generated figures against saved baseline figures. Requires
AssertionError – If pytest returns a non-zero error code indicating that some tests have failed.