To test our project we use the framework Robot for acceptance testing and pytest for unit testing. We recommend you to check the documentation for these frameworks when writing your tests.
-
Acceptance Testing (Robot):
- https://github.com/robotframework/robotframework
- https://robotframework.org/robotframework/
- Demo: https://github.com/robotframework/RobotDemo
- Recommended VSCode extension:
tomiturtiainen.rf-intellisense
- Run tests with reporting:
robot --outputdir tests_output .
- Reports go in
tests_output
folder.
-
Unit Testing (pytest)
- https://docs.pytest.org/en/stable/contents.html
- Run tests with reporting:
pytest
- Reports go in
tests_output
folder.