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

Allow attachements in test fixtures #66

Closed
marx-freedom opened this issue Jan 17, 2017 · 6 comments
Closed

Allow attachements in test fixtures #66

marx-freedom opened this issue Jan 17, 2017 · 6 comments

Comments

@marx-freedom
Copy link

Greetings.
It would be great to have an ability to create attachments in test fixtures.

@baev
Copy link
Member

baev commented Jan 17, 2017

Hi. Actually you can create attachments and steps in fixtures. But old Allure adaptors isn't support this. New TestNg and PyTest adaptors is pretty much ready, so stay turned.

@marx-freedom
Copy link
Author

Thanks. Is there any plans to support it in JUnit adapter?

@baev
Copy link
Member

baev commented Feb 6, 2017

Is there any plans to support it in JUnit adapter?

Yep, right next after TestNG. For JUnit 4 it is only possible via custom runner or using AspectJ. I guess we will provide AspectJ implementation. Also we created an issue for JUnit 5 junit-team/junit5#618 to support that

@baev
Copy link
Member

baev commented Feb 6, 2017

Closing this one as fixed. You can watch the status of new adaptors in the related tickets:

#110
#109

@baev baev closed this as completed Feb 6, 2017
@hollmaro
Copy link

hollmaro commented Sep 6, 2018

@baev Hello!
Can you tell exact in what allure-testNG adaptor (version) is an ability to add the attachment to fixtures?
As I know allure-testng 2.7.0 is the latest version.
Thank you!

@baev
Copy link
Member

baev commented Sep 6, 2018

@hollmaro the same way as you add attachments to tests.

PS do not post questions in closed issues use our Gitter chat or StackOverflow (tag allure)

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

3 participants