{"id":22988995,"url":"https://github.com/spekt/nunit.testlogger","last_synced_at":"2025-08-13T20:33:40.646Z","repository":{"id":39987655,"uuid":"84088289","full_name":"spekt/nunit.testlogger","owner":"spekt","description":"NUnit logger for vstest platform (\u003c= v3.x)","archived":false,"fork":false,"pushed_at":"2024-06-17T10:59:56.000Z","size":252,"stargazers_count":53,"open_issues_count":0,"forks_count":26,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-13T09:45:18.684Z","etag":null,"topics":["dotnet","dotnet-test","logger","nuget","nunit","test-reporting","vstest"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"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/spekt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-03-06T15:19:32.000Z","updated_at":"2024-10-08T15:24:16.000Z","dependencies_parsed_at":"2024-06-18T15:33:17.679Z","dependency_job_id":null,"html_url":"https://github.com/spekt/nunit.testlogger","commit_stats":{"total_commits":113,"total_committers":21,"mean_commits":5.380952380952381,"dds":0.7610619469026548,"last_synced_commit":"9efe1add4343d61a6e6d50958751d67acccde965"},"previous_names":["faizan2304/loggerextensions"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekt%2Fnunit.testlogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekt%2Fnunit.testlogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekt%2Fnunit.testlogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekt%2Fnunit.testlogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spekt","download_url":"https://codeload.github.com/spekt/nunit.testlogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229524507,"owners_count":18086546,"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":["dotnet","dotnet-test","logger","nuget","nunit","test-reporting","vstest"],"created_at":"2024-12-15T04:15:38.170Z","updated_at":"2024-12-15T04:15:38.647Z","avatar_url":"https://github.com/spekt.png","language":"C#","readme":"\u003e [!IMPORTANT]  \n\u003e Development of v4.x and subsequent versions of the NUnit logger is moved to the [testlogger](https://github.com/spekt/testlogger) repository.\n\u003e Kindly report any new issues or contribute your patches in that repo.\n\n# NUnit Test Logger\nNUnit xml report extension for [Visual Studio Test Platform](https://gtihub.com/microsoft/vstest).\n\n[![Build Status](https://travis-ci.com/spekt/nunit.testlogger.svg?branch=master)](https://travis-ci.com/spekt/nunit.testlogger)\n[![Build Status](https://ci.appveyor.com/api/projects/status/2masybxty5kve2dc?svg=true)](https://ci.appveyor.com/project/spekt/nunit-testlogger)\n[![NuGet Downloads](https://img.shields.io/nuget/dt/NunitXml.TestLogger)](https://www.nuget.org/packages/NunitXml.TestLogger/)\n\n## Packages\n| Logger | Stable Package | Pre-release Package |\n| ------ | -------------- | ------------------- |\n| NUnit | [![NuGet](https://img.shields.io/nuget/v/NUnitXml.TestLogger.svg)](https://www.nuget.org/packages/NUnitXml.TestLogger/) | [![MyGet Pre Release](https://img.shields.io/myget/spekt/vpre/nunitxml.testlogger.svg)](https://www.myget.org/feed/spekt/package/nuget/NunitXml.TestLogger) |\n\nIf you're looking for `xunit`, `junit` or `appveyor` loggers, visit following repositories:\n* \u003chttps://github.com/spekt/xunit.testlogger\u003e\n* \u003chttps://github.com/spekt/junit.testlogger\u003e\n* \u003chttps://github.com/spekt/appveyor.testlogger\u003e\n\n## Usage\nNUnit logger can generate xml reports in the [NUnit v3 format](https://docs.nunit.org/articles/nunit/technical-notes/usage/Test-Result-XML-Format.html).\n\n1. Add a reference to the [NUnit Logger](https://www.nuget.org/packages/NUnitXml.TestLogger) NuGet package in test project\n2. Use the following command line in tests\n```\n\u003e dotnet test --logger:nunit\n```\n3. Test results are generated in the `TestResults` directory relative to the `test.csproj`\n\nA path for the report file can be specified as follows:\n```\n\u003e dotnet test --logger:\"nunit;LogFilePath=test-result.xml\"\n```\n\n`test-result.xml` will be generated in the same directory as `test.csproj`.\n\n**Note:** the arguments to `--logger` should be in quotes since `;` is treated as a command delimiter in shell.\n\nAll common options to the logger is documented [in the wiki][config-wiki]. E.g.\ntoken expansion for `{assembly}` or `{framework}` in result file.\n\n[config-wiki]: https://github.com/spekt/testlogger/wiki/Logger-Configuration\n\n**NUnit test framework settings**\n\n- If your scenario requires test case properties like `Description` in the xml, please enable internal properties for the nunit adapter:\n\n`dotnet test --logger:nunit -- NUnit.ShowInternalProperties=true`\n\n- NUnit test adapter also provides a mechanism to emit test result xml from the NUnit engine. You may use following commandline for the same:\n\n`dotnet test --logger:nunit -- NUnit.TestOutputXml=\u003cfoldername relative to test binary directory\u003e`\n\n## Release Checklist\n\nA note to self on how to make releases:\n\n- [ ] Create changelog entry with tentative version.\n- [ ] Verify the version on Spekt myget (remember to update version in command below).\n```sh\n\u003e dotnet new nunit\n\u003e dotnet add package NunitXml.TestLogger --version 3.0.109 --source https://www.myget.org/F/spekt/api/v3/index.json\n\u003e dotnet test --logger:nunit\n```\n- [ ] Push the version on Spekt myget to Nuget.\n- [ ] Create a github release with above version tag. Link to the changelog section.\n- [ ] Thank the issue authors and notify them about the released version.\n\n## License\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspekt%2Fnunit.testlogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspekt%2Fnunit.testlogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspekt%2Fnunit.testlogger/lists"}