allure-framework / allure-cucumberjvm

Deprecated, use https://github.com/allure-framework/allure-java instead
Apache License 2.0
16 stars 13 forks source link

How to use the annotations @Issue, @TestCaseID, etc with Cucumber-JVM framework ? #32

Closed thelazytester closed 7 years ago

thelazytester commented 8 years ago

I tried adding the way it is mentioned in the documentations but i was not able to see the Test Case ID and Issue ID on the Allure Report.

Sample Code :

@Issue("CON-1062") @When("^User logs in using Username as \"(.)\" and Password \"(.)\"$") public void login(String username, String password) { -- implementation code } @TestCaseId("CON-1055") @Then("^User should be logged in$") public void User_should_be_logged_in() throws Throwable { -- implementation code

}

How can we integrate these things with Cucumber JVM Framework ?

Using the documentation and other framework (Like TestNG), I was able to see those linkable IDs in the report. Is there a way to use these annotations with Cucumber JVM Framework ?

jalona commented 7 years ago

Double issue. See please: https://github.com/allure-framework/allure-cucumber-jvm-adaptor/issues/27

clicman commented 7 years ago

Fixed in master. Will available in 1.6 release