aspnetcore-generator-api
aspnetcore-generator-api copied to clipboard
Integration test on Team city not getting rich test information
I'm following your course on PS and I'm trying to get the Integration Test displaying test information.
This is my docker-compose.yml file
version: '3.1'
services:
generator:
image: my-registry:55000/gen:ci-${GENERATOR_BUILD_NUMBER-10}
#ports:
# - "8080:80"
mail:
image: mailhog/mailhog
#ports:
# - "8025:8025"
integration:
image: my-registry:55000/gen:integration-${BUILD_NUMBER-10}
build: .
- TEAMCITY_PROJECT_NAME: fake
I'm trying to set TEAMCITY_PROJECT_NAME to fake but team city is refusing to show rich test information from xnunit. Any suggestions?
Thanks
When you run docker-compose alone (outside TeamCity) do you see the TeamCity Service Messages in the output with the test results? If not, it is possible that the test runner isn't emitting test results into the format TeamCity parses.
https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ServiceMessages