2.3. Makefile targets¶
The Makefile in the source code repository of the SuMPF package has the following targets:
make testruns the unit tests.
make test_coverageruns the unit tests and prints information about their test coverage.
make test_without_optional_dependenciesruns the unit tests with the optional dependencies being made unavailable, so that it’s tested, if SuMPF degrades gracefully.
make lintchecks the package and the unit tests with Pylint and
make docsbuilds the documentation.
test_without_optional_dependencies targets also accept parameters, which are passed to the
This allows to run only specific tests, for example
make test documentation will only run the
doctest tests of the files in the documentation directory.