Skip to main content

📊 Generate Allure Report

Introduction​

Boyka Framework provides a built-in interfaces which you can use to log test steps with Allure.

Install Allure​

To install Allure, you can use the following command:

brew install allure

or you can download it from the Allure website.

Implement Boyka Listener​

Boyka framework provides a set of interfaces that you can use to log test steps with Allure. You can implement any of the following interfaces to log test steps:

tip

You can click on the listener link to see the full documentation of the interface.

API​

Data​

Device​

Driver​

Element​

Configure the listener​

In the boyka-config.json file, you can add the listener to the listeners field. For example:

{
"listeners_package": "package.to.your.listeners"
. . .
}

Once you have added the listener to the listeners_package field, the Boyka framework will automatically load the listener and use it to log test steps with Allure.

Conclusion​

In this tutorial, you learned how to generate Allure reports with Boyka framework. You can use the built-in interfaces to log test steps with Allure and generate reports. You can also customize the reports by implementing your own listeners.

Rest of the steps for generating Allure reports are the same as the ones mentioned in the Allure documentation.