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

Add support for Spock2 #108

Open
1 of 3 tasks
baev opened this issue Jul 10, 2023 · 4 comments
Open
1 of 3 tasks

Add support for Spock2 #108

baev opened this issue Jul 10, 2023 · 4 comments

Comments

@baev
Copy link
Member

baev commented Jul 10, 2023

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behaviour?

Allure Spock2 integration was released a long time ago, although this plugin doesn't support it yet.

@idan-marciano-jfrog
Copy link

Any news on that? I also tried it and it fails
java.lang.NoSuchMethodError: 'org.junit.runner.Description org.spockframework.runtime.model.FeatureInfo.getDescription()'

@baev
Copy link
Member Author

baev commented Nov 8, 2023

You can use this working example to configure the dependencies manually. https://github.com/allure-examples/allure-spock2-gradle-kts

@idan-marciano-jfrog
Copy link

idan-marciano-jfrog commented Nov 8, 2023

@baev
Ar you referring to this? Is the following enough?
testImplementation(platform("io.qameta.allure:allure-bom:2.24.0")) testImplementation("io.qameta.allure:allure-spock2") testImplementation("io.qameta.allure:allure-junit-platform")

@baev
Copy link
Member Author

baev commented Nov 8, 2023

To configure the integration, you can follow the official documentation: https://allurereport.org/docs/spock/

Also, you can use the example I've included as the reference/playground.

In case of any issues with that, please follow:

  1. For unclear/missing documentation — https://github.com/orgs/allure-framework/discussions/categories/documentation
  2. For general questions/support — https://github.com/orgs/allure-framework/discussions/categories/questions-support
  3. For bugs — https://github.com/orgs/allure-framework/discussions/categories/bug-reports

I hope that helps!

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