如何使用黄瓜和JUnit生成魅力报告?

时间:2020-05-04 17:20:45

标签: selenium junit cucumber allure cucumber-java

我正在尝试使用黄瓜+ Junit创建吸引力报告,但没有创建吸引力结果文件夹。尽管测试用例已成功通过,但我想创建未创建的allure-result文件夹。向您提出建议。This is my project Structure

步骤定义文件:

public class CustomerInfoVerification {

@Given("^user is already on home Page$")
public void user_is_already_on_home_Page() throws Throwable {
    System.out.print(" thid is Given");
}

@When("^click on Pattinson, Robert provider$")
public void click_on_Pattinson_Robert_provider() throws Throwable {
    System.out.print("  thid is When");
}

@Then("^user verifies unm and password$")
public void userVerifiesGeography() throws Throwable {
    System.out.print(" thid is Then");

}

}

功能文件:

功能:规则管理模块

场景:提供者信息模块

给定用户已经在主页上

当点击Pattinson,Robert提供者

然后用户验证unm和密码

[POM.xml ][2] POM.xml的图像 POM.xml filenter code herees image is attached

0 个答案:

没有答案