Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 840 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 840 Bytes

Flight Controller - Testing

Everything related to testing Flight Controller

Tests

  • Flight Controller Custom Publisher Examples examples/
  • Python Behave Tests (e2e Testing) features/
  • Pytest Publisher Tests publisher/
  • Pytest Controller Tests src/

Make Commands

Testing is split into four commands:

  • make unittest runs all the unit tests (i.e. tests that are not marked as integration).
  • make integration-test run all the integration tests.
  • make test runs all the tests and reports on coverage.
  • make e2e runs the end to end BDD tests using behave.
  • make watch runs all the unit tests on file change. Allowing to test code while making live changes.

Coverage