Group Group Group Group Group Group Group Group Group

Chapter 11: Test Suite 'debug.xctest' failed

When building on Xcode I don’t get any error but when I run,

docker-compose -f docker-compose-testing.yml up \
  --abort-on-container-exit

on my terminal i get the following output/error:

til-app_1 | Test Case ‘UserTests.testUsersCanBeRetrievedFromAPI’ passed (0.205 seconds)
til-app_1 | Test Suite ‘UserTests’ passed at 2020-10-09 14:38:01.363
til-app_1 | Executed 4 tests, with 0 failures (0 unexpected) in 0.792 (0.792) seconds
til-app_1 | Test Suite ‘debug.xctest’ failed at 2020-10-09 14:38:01.363
til-app_1 | Executed 20 tests, with 2 failures (0 unexpected) in 4.201 (4.201) seconds
til-app_1 | Test Suite ‘All tests’ failed at 2020-10-09 14:38:01.365
til-app_1 | Executed 20 tests, with 2 failures (0 unexpected) in 4.201 (4.201) seconds
tilapp_til-app_1 exited with code 1
Aborting on container exit…
Stopping tilapp_postgres_1 … done