-
Notifications
You must be signed in to change notification settings - Fork 169
Home
Allure Framework is a flexible lightweight multi-language test report tool with the possibility to add screenshots, logs and so on. It provides modular architecture and neat web reports with the ability to store attachments, steps, parameters and many more.
To use Allure you need to take only two steps:
- Gather information about tests
- Generate report
During this step all information about running tests is saved to XML files with predifined format. To do this we provide so-called adapters - small libraries which are attached to particular test frameworks and know how to extract test information to XML. Please select one of supported test frameworks for more information:
Also see various examples on how to use adapters.
Having XML files created by adapter you can easily generate Allure report with one of the following tools:
- Use Allure Command Line Tool to generate report by running a console command
- Use Allure Jenkins Plugin to generate report as Jenkins job artifact
- Use Allure Teamcity Plugin to generate report as Teamcity job artifact
- Use Allure Bamboo Plugin to generate report as Atlassian Bamboo plan artifact
- Use Allure Maven Plugin to generate report during Maven build
This section tells about main Allure features. For example you can group your tests by stories or features, attach files, distribute assertions over a set of custom steps and so on. All these features are supported by Java test frameworks so here we provide only Java examples. Please refer to particular adapter guide for more details on how it works with the test framework of your choice.
- aShot - WebDriver Screenshot utility. Take screenshots, crop, prettify, compare.
- HTML Elements - A Java framework that provides easy-to-use interaction with page elements in webpage tests.
- Properties - A Java library for populating beans with system environment properties in a simple and convenient way.
- Perspective - API and shell to orchestrate multiple clouds.