Commit graph

6 commits

Author SHA1 Message Date
Christian Kellner
f930691d86 run-tests: remove the container after use
Pass `--rm` to automatically remove the container after it exited.
2020-09-17 19:53:06 +02:00
Christian Kellner
5c6605b974 test: shellcheck support for run-tests.sh
The severity is set to "warning" by default, but can be controlled
via the SHELLCHECK_SEVERITY env variable.
2020-09-17 19:53:06 +02:00
Christian Kellner
2b7741519b run-tests: double quote $(pwd)
This could indeed also be anything.
2020-09-17 19:53:06 +02:00
Christian Kellner
1ee0d80538 run-tests: also lint the plugins
Use pylint also for the plugins not only the tests.
2020-09-15 18:59:03 +02:00
Christian Kellner
e5f563c9a1 run-tests: use pytest and generate coverage report
Use the more powerful pytest framework together with pytest-cov
to generate coverage support.
2020-09-14 17:37:35 +02:00
Christian Kellner
51f55998da run-test.sh: simple script to execute unit tests
Builds the test environment container and executes unit tests in
it.
2020-09-13 13:20:19 +02:00