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

Get running test name #1359

Closed
jonparky opened this issue Jul 11, 2017 · 3 comments
Closed

Get running test name #1359

jonparky opened this issue Jul 11, 2017 · 3 comments

Comments

@jonparky
Copy link

We have a situation at present where we need to get the name of the currently running test in order to display it on our remote automated test software.

Is there anyway of doing this ? similar to Nunits TestContext ?

Thanks

@bradwilson
Copy link
Member

There is no facility for this today, nor any currently planned.

@slawomir-brzezinski-at-interxion
Copy link

slawomir-brzezinski-at-interxion commented Sep 5, 2017

Dupe of #416 and related to #621
I would also like to see it to consider XUnit at all. Lack of this is hindering making TeamCity test reports helpful, because it's impossible to add extra information to error output because testStdErr requires the a name arguments in parallel test runs (see near 'Test output:' in TC docs).

@SimonCropp
Copy link
Contributor

i needed this for a few of my projects. so i bundled it into my xunit logging lib https://github.com/SimonCropp/XunitLogger#current-test

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

4 participants