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

Output message in each project nested to deep hierarchy #36

Open
aixasz opened this issue Aug 1, 2018 · 3 comments
Open

Output message in each project nested to deep hierarchy #36

aixasz opened this issue Aug 1, 2018 · 3 comments

Comments

@aixasz
Copy link

aixasz commented Aug 1, 2018

We found something a bit weird in output message.

Update image
image

You will see we have two projects and output message of second project is nested in first project and this will caused of deep hierarchy message.

@carlpett
Copy link
Owner

carlpett commented Aug 1, 2018

Hi @aixasz,
It is not fully clear from the screenshot, so just to verify: These are all different, unrelated assemblies being tested, and somehow nested under each other?

@aixasz
Copy link
Author

aixasz commented Aug 2, 2018

The problem is in solution contained many test projects, and when xunit teamcity started in build step, it's ran in each project and after finish for a project, it doesn't exit block module of output message, and this will append new block module for next testing project under current project tested.

So after this build step finish the output message show the deep hierarchy.

@carlpett
Copy link
Owner

carlpett commented Aug 2, 2018

Ah, right. This is caused by the parallel test runs merged in #20. I'm not sure if there is a nice way to avoid this without either buffering the test output (ie, you will not see the output from the test run until the entire assembly has finished), or running in serial instead.
I'll have to have a look at the TeamCity logging API and see if there's an alternative.

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