Skip to content

allure-examples/allure-karate-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Allure Karate Example

Getting Started

To generate Allure Test Results you should perform following steps:

$ git clone https://github.com/allure-examples/allure-karate-example.git

Add hook AllureKarate() to the Karate runner builder. If you don't use JUnit runner, you can add hook to the runner like that:

com.intuit.karate.Runner.builder()
.hook(new AllureKarate())

By default test results will be generated to allure-results folder. To generate and open genearted report, you need to run following command of allure commandline:

$  allure serve allure-results

There is another way of generating the report. The generated report can be opened via command allure open allure-report. The command to generate the report is the following:

$ allure generate

More

Releases

No releases published

Packages

No packages published

Languages