1.1.B Execute automated tests - Daniel-Brosnan-Blazquez/vboa GitHub Wiki
Introduction
This procedure covers the action to execute the automatic tests for BOA in the development environment.
Note: References to s2boa included for completeness regarding the installation of a tailored BOA.
Pre-conditions
- Procedure Install BOA in development mode from scratch has been successfully executed.
Procedure
Note: the tests are executed activating the coverage analysis of code.
- Access through the console with the following command (using the specific host user created, for example, s2boa):
docker exec -it -e HOME=/home/s2boa -u s2boa boa_app_dev /bin/bash
- Execute EBOA tests:
cd /eboa/src
py.test -vv tests/ eboa/ingestions --cov-report html:tests/tmp/code_coverage_analysis --cov-branch --cov=eboa
- Execute VBOA tests:
cd /vboa/src/vboa
py.test -vv tests