| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
The package contains classes and functions for users of Allure Report. It can be used to enhance reports using an existing Allure adapter or to create new adapters.
Install an adapter that suits your test framework. You can then add more information to the report by using functions from the allure module.
Use these functions as decorators of your own functions, e.g.:
import allure
@allure.title("My test")
def test_fn():
passThe full list of decorators:
Refer to the adapter's documentation for the information about what decorators are supported and what functions they can be applied to.
Most of the functions of Runtime API can be accessed via allure.dynamic.*. Call them at runtime from your code.
The full list includes:
Refer to the adapter's documentation for the information about what functions are supported and where you can use them.
You may use allure-pytest-commons to build your own Allure adapter. The key elements of the corresponding API are:
A new version of the API is likely to be released in the future as we need a decent support for multithreaded and async-based concurrency (see here and here).
| Back | FazBrowse Home | New Git URL |