S
S
Steve2021-07-29 16:30:24
PHPUnit
Steve, 2021-07-29 16:30:24

Unit tests and missing errors?

On the project (php), most of the code is covered by Unit tests. We have continuous integration on Gitlab. Sometimes there are errors, but you want the tests to run even if they fail. Those. so that everything does not stop at one mistake.
I'm using symfony (although, it doesn't matter), .gitlab-ci.yml

Is it possible to do this and if so, how to implement it?

The tests end with the following lines:

ERRORS!
 Tests: 603, Assertions: 955, Errors: 195, Failures: 10.
 Remaining indirect deprecation notices (792)
Cleaning up file based variables
00:01
 ERROR: Job failed: exit code 1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question