💬 General Discussion – engage in casual conversations, share insights and ideas with the community
Allure Report features
Generate report using explorer context menu.
Start live server based on allure test results files.
Serve already generated report.
Allure TestOps features
Create launches from allure test results files.
Assign Allure ID to existing tests, so renaming a test or moving it to another class keeps it bound to the same test case.
Assign Allure ID
Run tests with Allure and upload the results to Allure TestOps first: test cases are created and updated when the launch is closed. Then use Allure TestOps: assign ID:
from the editor context menu: the test under the caret gets its ID, or all the tests of the class under the caret, or all the tests of the file;
from the Explorer context menu or the editor tab context menu: all the tests of the selected files get their IDs.
The command shows up for the files with tests only: the extension looks through the workspace in the background and finds them by their content, the same way the command does. Until the first pass is over, the command is offered for every file of a supported language.
Every test is looked for in the selected project by its full name. Tests which already have Allure ID are left as they are, tests without a test case are listed in the Allure output channel.
Language
Framework
Allure ID
Java
JUnit 4, JUnit 5, TestNG
@AllureId("123")
Kotlin
JUnit 4, JUnit 5, TestNG
@AllureId("123")
Groovy
Spock
@AllureId("123")
Python
pytest
@allure.id("123")
Gherkin
Cucumber
@allure.id:123 tag
Robot
Robot Framework
allure.id=123 in [Tags]
Requirements
To use Allure Report you need to install it first, both Allure 2 and Allure 3 are supported.
Make sure, that allure command is system-wide available for use from CLI.
To use Allure TestOps features, you need to purchase the license and setup the extension.
Extension Settings
allure.host: host of the purchased Allure TestOps instance.