PyTest
This library will execute Python unit tests leveraging the PyTest framework.
Library Configuration Options
Field | Description | Required | Default Value |
---|---|---|---|
enforce_success |
Set to false if failing tests should not fail the build |
false |
true |
requirements_file |
Relative path within the repository pointing to a python requirements file |
false |
requirements.txt |
libraries{
pytest{
requirements_file = "path/to/my/requirements.txt"
}
}
Results
View an example of the HTML output that’s been saved as a PDF here.