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

Create a function that returns full test name #199

Closed
forki opened this issue Sep 18, 2017 · 1 comment
Closed

Create a function that returns full test name #199

forki opened this issue Sep 18, 2017 · 1 comment

Comments

@forki
Copy link
Contributor

forki commented Sep 18, 2017

Inside an expecto test I want to save a Screenshot with the file name as the full test name. So I need a function that I can call from within a test that returns the full name of the test

@AnthonyLloyd
Copy link
Contributor

Implemented with ThreadStatic. testName() will have to be called near the start of an async test before it move to another thread.

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

No branches or pull requests

3 participants