A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/allure-framework/allure-core/wiki/Creating-Allure-Adapter below:

Creating Allure Adapter · allure-framework/allure1 Wiki · GitHub

This page describes the internal details of the development process for Allure adapters, and is intended for developers and contributors.

Adapter Development Considerations

With the existing diversity of mainstream programming languages and test frameworks, it's very important to follow the same approach when implementing Allure adapters. That's why we're sure that any implementation of an Allure adapter for any test framework and any programming language should consist of two main layers:

The implementation of Allure events for Java is located in the events directory.

Notifies about a parameter passed to test (name and value).

Notifies about a new attachment (attachment byte stream, name and MIME type).

Notifies about removed attachments. For example, you can remove a screenshot taken during the test run when the test passes.

Notifies about canceled steps. For example, when one step depends on another and it fails, we mark the first one as canceled.

Notifies about failed steps. This means that one or more assertions in the step were false.

Notifies that step execution was finished. Mainly used to save the timestamp.

Notifies that step execution was started. Mainly used to save the timestamp.

The same as StepCanceledEvent but for test cases.

The same as StepFinishedEvent but for test cases.

Notifies about a test case explicitly marked as ignored or not implemented. Suitable for tests that have no assertions (risky tests).

The same as StepStartedEvent but for test cases.

The same as StepFinishedEvent but for test suites.

The same as StepStartedEvent but for test suites.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4