1 | # allure-js-commons
|
2 |
|
3 | > Common utilities for Allure framework JavaScript integrations
|
4 |
|
5 | [<img src="https://allurereport.org/public/img/allure-report.svg" height="85px" alt="Allure Report logo" align="right" />](https://allurereport.org "Allure Report")
|
6 |
|
7 | - Learn more about Allure Report at https://allurereport.org
|
8 | - 📚 [Documentation](https://allurereport.org/docs/) – discover official documentation for Allure Report
|
9 | - ❓ [Questions and Support](https://github.com/orgs/allure-framework/discussions/categories/questions-support) – get help from the team and community
|
10 | - 📢 [Official annoucements](https://github.com/orgs/allure-framework/discussions/categories/announcements) – be in touch with the latest updates
|
11 | - 💬 [General Discussion ](https://github.com/orgs/allure-framework/discussions/categories/general-discussion) – engage in casual conversations, share insights and ideas with the community
|
12 |
|
13 | ---
|
14 |
|
15 | Interface for Allure to be used from Javascript and TypeScript.
|
16 | There you can find primitives to create custom integrations for the javascript testing frameworks.
|
17 |
|
18 | ## API Overview
|
19 |
|
20 | ### Labels environment variables
|
21 |
|
22 | Allure allows to use environment variables for setting test labels.
|
23 | Using `ALLURE_LABEL_{{labelName}}={{labelValue}}` syntax you can set common labels for all of your tests.
|
24 |
|
25 | #### Examples
|
26 |
|
27 | ```bash
|
28 | ALLURE_LABEL_EPIC="Story 1" npm test
|
29 | ```
|