{"id":37032264,"url":"https://github.com/nunit/dotnet-new-nunit","last_synced_at":"2026-01-14T03:57:41.531Z","repository":{"id":27194439,"uuid":"92879481","full_name":"nunit/dotnet-new-nunit","owner":"nunit","description":"Project is being maintained by the .NET Team now","archived":true,"fork":false,"pushed_at":"2022-11-23T18:54:09.000Z","size":104,"stargazers_count":34,"open_issues_count":4,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-24T00:26:40.267Z","etag":null,"topics":["dotnet-core","hacktoberfest","templates"],"latest_commit_sha":null,"homepage":"https://github.com/dotnet/test-templates ","language":"Visual Basic .NET","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/nunit.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-30T21:53:24.000Z","updated_at":"2025-01-29T20:07:13.000Z","dependencies_parsed_at":"2023-01-14T06:11:57.379Z","dependency_job_id":null,"html_url":"https://github.com/nunit/dotnet-new-nunit","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/nunit/dotnet-new-nunit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nunit%2Fdotnet-new-nunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nunit%2Fdotnet-new-nunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nunit%2Fdotnet-new-nunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nunit%2Fdotnet-new-nunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nunit","download_url":"https://codeload.github.com/nunit/dotnet-new-nunit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nunit%2Fdotnet-new-nunit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-core","hacktoberfest","templates"],"created_at":"2026-01-14T03:57:40.889Z","updated_at":"2026-01-14T03:57:41.525Z","avatar_url":"https://github.com/nunit.png","language":"Visual Basic .NET","funding_links":[],"categories":[],"sub_categories":[],"readme":"NUnit 3 Test Project Template for `dotnet new` CLI\n==================================================\n\n|                 | Status         | History |\n|-----------------|:--------------:|---------|\n| nuget           | [![NUnit 3 Test Project Template for dotnet-new CLI](https://buildstats.info/nuget/NUnit3.DotNetNew.Template)](https://www.nuget.org/packages/NUnit3.DotNetNew.Template/) |\n| Windows         | [![Build status](https://ci.appveyor.com/api/projects/status/pb11n8ynftdnmlu4/branch/master?svg=true)](https://ci.appveyor.com/project/halex2005/dotnet-new-nunit-g8axg/branch/master) | [![Build history for appveyor](https://buildstats.info/appveyor/chart/halex2005/dotnet-new-nunit-g8axg?branch=master\u0026includeBuildsFromPullRequest=false)](https://ci.appveyor.com/project/halex2005/dotnet-new-nunit-g8axg/history?branch=master)\n\nThis repository contains a set of project and item templates to be used when creating projects from .NET Core `dotnet new` command line interface (C#, F# and Visual Basic project templates are supported).\n\nCurrently, it contains a project template for a NUnit test library targeting .NET Core.\n\nInstallation\n------------\n\nTo install NUnit Project and Item Templates from nuget, run command:\n\n```\ndotnet new -i NUnit3.DotNetNew.Template\n```\n\nUsage\n-----\n\n### Project Templates\n\nTo create new NUnit library project from template, run:\n\n```\ndotnet new nunit\n```\n\nBy default it will create NUnit Test Project targeted to `netcoreapp3.0`.\nYou can specify `--framework` command line switch to change targeting:\n\n```\ndotnet new nunit --framework netcoreapp1.1\n```\n\nTo specify new folder name for your NUnit Test Project you can use `-n` switch.\nFollowing command will create `NUnit-Tests` folder and will generate NUnit Test Project there:\n\n```\ndotnet new nunit -n NUnit-Tests --framework netcoreapp1.0\n```\n\nIf you'd like to create F# or VB test project, you can specify project language with `-lang` switch:\n\n```\ndotnet new nunit -lang F#\ndotnet new nunit -lang VB\n```\n\n\u003e Note that VB doesn't support dashes in project name. If you have `dotnet-new-nunit-example.vbproj` test project, then you'll get compiler error like this:\n\u003e\n\u003e     vbc : error BC30113: 'dotnet-new-nunit-example' is not a valid name and cannot be used as the root namespace name. [/home/hal/git/dotnet-new-nunit-example/dotnet-new-nunit-example.vbproj]\n\u003e\n\u003e To workaround this compiler error, rename your project so that it contained no dashes.\n\n### Item templates\n\nTo create new C# NUnit test fixture class (with name of folder where it will be created), run:\n\n```\ndotnet new nunit-test\n```\n\nYou can specify filename of test fixture class with `-n` or `--name` parameter:\n\n```\ndotnet new nunit-test -n MyTestFixture\n```\n\nUnfortunately, this command will create file `MyTestFixture\\MyTestFixture.cs`\nrelatively of current directory.\n\nYou can create file `MyTestFixture.cs` in current\ndirectory by overriding output directory with `-o` or `--output` parameter:\n\n```\ndotnet new nunit-test -n MyTestFixture -o .\n```\n\nIf you'd like to create F# or VB test fixture class, you can specify project language with `-lang` switch:\n\n```\ndotnet new nunit-test -lang F#\ndotnet new nunit-test -lang VB\n```\n\n### More information\n\nFor more info on `dotnet new` CLI, please read [the documentation](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet).\n\nFor more info on NUnit testing framework, see [nunit.org](http://nunit.org/) website.\n\nLicense\n-------\n\nThis package is distributed under conditions of [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnunit%2Fdotnet-new-nunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnunit%2Fdotnet-new-nunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnunit%2Fdotnet-new-nunit/lists"}