Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration test on Team city not getting rich test information #9

Open
laitang2000 opened this issue May 9, 2018 · 1 comment
Open

Comments

@laitang2000
Copy link

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

@g0t4
Copy link
Owner

g0t4 commented Jun 1, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants