{"id":22802564,"url":"https://github.com/andreaskarz/funkybdd.trxparser","last_synced_at":"2025-06-20T06:34:25.229Z","repository":{"id":70279715,"uuid":"229030185","full_name":"AndreasKarz/FunkyBDD.TRXParser","owner":"AndreasKarz","description":"A little standalone Console App to merge different TRX files and generate a Teams message over WebHooks","archived":false,"fork":false,"pushed_at":"2019-12-19T14:45:43.000Z","size":32029,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T20:16:32.368Z","etag":null,"topics":["automated-testing","e2e","e2e-testing","funkybdd","teams","trx","trx-parser","trx-testresults","webhook","webhooks"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndreasKarz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-12-19T10:24:14.000Z","updated_at":"2025-03-14T01:24:14.000Z","dependencies_parsed_at":"2023-02-24T09:30:55.113Z","dependency_job_id":null,"html_url":"https://github.com/AndreasKarz/FunkyBDD.TRXParser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndreasKarz/FunkyBDD.TRXParser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasKarz%2FFunkyBDD.TRXParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasKarz%2FFunkyBDD.TRXParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasKarz%2FFunkyBDD.TRXParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasKarz%2FFunkyBDD.TRXParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasKarz","download_url":"https://codeload.github.com/AndreasKarz/FunkyBDD.TRXParser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasKarz%2FFunkyBDD.TRXParser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260896143,"owners_count":23078956,"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":["automated-testing","e2e","e2e-testing","funkybdd","teams","trx","trx-parser","trx-testresults","webhook","webhooks"],"created_at":"2024-12-12T09:06:32.776Z","updated_at":"2025-06-20T06:34:20.210Z","avatar_url":"https://github.com/AndreasKarz.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TRXParser\nA little standalone Console App to merge different TRX files and generate a Teams message over WebHooks.\n\n\u003e In automated E2E tests with **different environments** you often have the problem of generating **multiple TRX files**. These are deleted after transmission to Azure DevOps.\n\u003e If you want to send a notification to teams, you need **a tool that consolidates and analyzes** these TRX files and sends them to **teams** with a **WebHook**. This is exactly what the **TRXParser** does.\n\n\n\n## Start parameters\n\nThe app expects the following parameters. These can be given as command line parameters or as environment variables. The command line parameter wins against the environment variable!\n\n| cmd          | env                  | description                                                  |\n| ------------ | -------------------- | ------------------------------------------------------------ |\n| --title      | TRXPARSER_TITLE      | The title of the test run                                    |\n| --repourl    | TRXPARSER_REPOURL    | Link to the file repository                                  |\n| --resulturl  | TRXPARSER_RESULTURL  | Link to the page with the test results                       |\n| --searchpath | TRXPARSER_SEARCHPATH | File path to search the TRX files                            |\n| --oklimit    | TRXPARSER_OKLIMIT    | Minimum percentage as Int for a test to be marked as OK      |\n| --webhook    | TRXPARSER_WEBHOOK    | WebHook URL from the Teams channel                           |\n| --deltrx     | TRXPARSER_DELTRX     | Set (cmd) or true (env) if the TRX files should be deleted when the result is send to Teams |\n| --debug      | TRXPARSER_DEBUG      | Set (cmd) or true (env) will display debug information into the console |\n\n## Design of the application\n\n### Team Card template\n\nThe basic structure of the teams Card is stored in the folder `__DEV__`. This folder must be included as a resource, so that the EXE can be started completely standalone.\nTherefore the icons are also defined as Base64. But the templates are also located in the folder `__DEV__`.\n\n### Implementation of the start parameters\n\nTo simple handle the start parameters for a console app you will need the Dragon Fruit package. You can install this prerelease feature with the Nuget console.\n\n```nuget\nInstall-Package System.CommandLine.DragonFruit -Version 0.3.0-alpha.19577.1\n```\n\nATTENTION: Dragon Fruit will not work with namespaces they have `.` inside! You will find more information about Dragon Fruit at [Scott Hanselmans Blog](https://www.hanselman.com/blog/DragonFruitAndSystemCommandLineIsANewWayToThinkAboutNETConsoleApps.aspx) or on [GitHub](https://github.com/dotnet/command-line-api/wiki/DragonFruit-overview). For the latest release please visit the [Nuget Page](https://www.nuget.org/packages/System.CommandLine.DragonFruit).\n\n### Build a single file app\n\nTo build a single file app, publish the solution with the command below. \n\n```powershell\ndotnet publish -r win-x64 -c Release -o \"c:\\temp\" /p:PublishSingleFile=true\n```\n\nSince all required resources are stored in the project, no images or templates are needed. The app works self-contained. You will find more information in the [DotNet Core tutorials](https://dotnetcoretutorials.com/2019/06/20/publishing-a-single-exe-file-in-net-core-3-0/). \n\nFor more arguments read this [documentation](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-publish?tabs=netcore21#arguments).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaskarz%2Ffunkybdd.trxparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreaskarz%2Ffunkybdd.trxparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaskarz%2Ffunkybdd.trxparser/lists"}