Unit test reports | GitLab
https://docs.gitlab.com/ee/ci/unit_test_reports.htmlRenamed from JUnit test reports to Unit test reports in GitLab 13.4. It is very common that a CI/CD pipeline contains a test job that verifies your code. If the tests fail, the pipeline fails and users get notified. The person that works on the merge request has to check the job logs and see where the tests failed so that they can fix them.
GitLab : Automatically testing your Python project | cylab.be
cylab.be › blog › 18PyTest is a framework designed to help you test your Python code. Here is an example of a test: To run these tests automatically when you push code to your repository, add the following job to your .gitlab-ci.yml. pytest will automatically discover all test files in your project (all files named test_*.py or *_test.py) and execute them.