- Notifications
You must be signed in to change notification settings - Fork76
License
NotificationsYou must be signed in to change notification settings
dotnet/test-templates
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains test templates that are consumed bydotnet new
. The templates are C#, F# and VB languages; for MSTest, NUnit and XUnit testing frameworks.It also contains classic .NET Framework and Universal Test templates for C# and VB.
You can create new test project withdotnet new mstest
,dotnet new nunit
, ordotnet new xunit
. Full documentation fordotnet new
ishere. And here is documentation for each template:mstest or xunit,nunit.
This repository consists of:
Templates
folder contains "legacy" templates for .NET Framework test projects in VisualStudio.
- Fork this repository.
- Clone the forked repository to your local machine.
main
is our default branch. It should be checked out for you automatically.- Create topic branch to hold your change e.g.
git checkout -b "update-mstest"
. - Make your changes, commit, and make PR that targets our
main
branch.
- Open up a command prompt and navigation to the root of your source code.
- Run the build script appropriate your environment.
- Windows:build.cmd
- When running the build script creates the nuget packages for net core test templates and vsix for classic test templates.
- The build produces the template NuGet packages currently has a dependency onnuget.exe.
- Because of this, those that wish to
install
using thetemplate NuGet packages will need to be on Windows in order to produce the appropriate assets.
Please note the templates inside thetemplate_feed
folder were moved into thedotnet/sdk.
About
No description, website, or topics provided.
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.