fastiot.cli.commands.run_tests module¶
- class fastiot.cli.commands.run_tests.TestRunner(value)[source]¶
Specify the test runner
- unittest = 'unittest'¶
Use python’s builtin unittest
- pytest = 'pytest'¶
Use pytest. This lib must be installed
- pytest_cov = 'pytest-cov'¶
Use pytest with test coverage option. Please note, that pytest-cov must be installed
- fastiot.cli.commands.run_tests.run_tests(start_deployment=<typer.models.OptionInfo object>, test_runner=<typer.models.OptionInfo object>)[source]¶
This command will trigger all unittests found in the configured test package. You may use the option –start-deployment to also run your integration test deployment with message broker, ….