{"id":19624222,"url":"https://github.com/rsheremeta/allure-environment-creator","last_synced_at":"2026-05-13T01:05:31.108Z","repository":{"id":171613406,"uuid":"325612658","full_name":"RSheremeta/allure-environment-creator","owner":"RSheremeta","description":"This tiny Library helps you to serve and store environment data for Allure easily.","archived":false,"fork":false,"pushed_at":"2021-01-13T11:40:44.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T11:58:12.337Z","etag":null,"topics":["allure","allure-framework","allure-java","allure-report","allure-reports","allure2","java","selenium","testing","testing-framework"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RSheremeta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-30T17:45:08.000Z","updated_at":"2022-05-04T12:14:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"72097141-1426-4871-a419-643f23268601","html_url":"https://github.com/RSheremeta/allure-environment-creator","commit_stats":null,"previous_names":["rsheremeta/allure-environment-creator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSheremeta%2Fallure-environment-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSheremeta%2Fallure-environment-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSheremeta%2Fallure-environment-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSheremeta%2Fallure-environment-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RSheremeta","download_url":"https://codeload.github.com/RSheremeta/allure-environment-creator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240923037,"owners_count":19879238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["allure","allure-framework","allure-java","allure-report","allure-reports","allure2","java","selenium","testing","testing-framework"],"created_at":"2024-11-11T11:37:19.930Z","updated_at":"2026-05-13T01:05:31.009Z","avatar_url":"https://github.com/RSheremeta.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Allure-Environment-Creator\nThis tiny Library helps you to serve and store environment data for Allure easily.\n\n## Installation\n1 Since it's not pushed to the MVN central repository yet, there are two installation options:\n\n* Download already compiled and packaged **Allure-Environment-Creator-1.0.jar** file [HERE][here] and proceed to the 2nd step\n* Download source code [HERE][here] to your local machine, make a jar by running **`mvn package`** in the repo directory and proceed to the 2nd step\n\n2 Put a **Allure-Environment-Creator-1.0.jar** file into your project directory (for instance – create root dir `~/libs/` and paste there)\n\n3 Add this dependency to your `pom.xml` (**systemPath** value is for instance)\n````\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.rsheremeta\u003c/groupId\u003e\n      \u003cartifactId\u003eAllure-Environment-Creator\u003c/artifactId\u003e\n      \u003cversion\u003e1.0\u003c/version\u003e\n      \u003cscope\u003esystem\u003c/scope\u003e\n      \u003csystemPath\u003e${basedir}/libs/Allure-Environment-Creator-1.0.jar\u003c/systemPath\u003e\n    \u003c/dependency\u003e\n````\n\n## Usage\n1. In your ``@BeforeSuite`` or ``@AfterSuite`` method (or ``@BeforeClass`` or ``@AfterClass`` for **JUnit**):\n````\n  @BeforeSuite(alwaysRun = true)\n  public void beforeSuiteSetUp() {\n    // Instantiate a map with your needed Environment values\n    \n    Map\u003cString, String\u003e envData = new HashMap\u003c\u003e();\n    envData.put(\"Base URL\", \"https://google.com/\");\n    envData.put(\"User\", \"Admin\");\n    envData.put(\"OS\", System.getProperty(\"os.name\"));\n    \n    /*\n    If your /allure-results is in /target – just pass instantiated map as a parameter\n    */ \n    AllureEnv.createAllureEnvironmentFile(envData);\n    \n    /*\n    If your /allure-results is in custom directory – just pass one more parameter \n    with customPath to your /allure-results directory\n    */ \n    AllureEnv.createAllureEnvironmentFile(envData, \"/custom/path/to/allure-results/\");\n    \n    // some your other code\n  }\n````\n\n2. Now you're all set to run your suite.\n\n3. Once suite is finished, generate allure report and take a look on the **Environment** section:\n\n![Allure Report Results](https://i.ibb.co/RbstTc3/Allure-Environment-Creator.png)\n\n[here]: https://github.com/RSheremeta/Allure-Environment-Creator/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsheremeta%2Fallure-environment-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsheremeta%2Fallure-environment-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsheremeta%2Fallure-environment-creator/lists"}