Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

License

NotificationsYou must be signed in to change notification settings

dotnet/test-templates

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.

Usage

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.

Contributing

There are 2 main areas in this repository:

  • template_feed contains the .NET templates that are inserted into dotnet/installer.
  • Templates,WizardExtensions contain "legacy" templates for .NET Framework test projects in VisualStudio.

template_feed contains all the templates from the oldest version of .NET to the newest. We build all of these templates, but might not ship all of them. If you are doing bigger changes please make them in bulk to all the templates.

Acquire

  • 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 ourmain branch.

Build & Run

  • Open up a command prompt and navigation to the root of your source code.
  • Run the build script appropriate your environment.
  • 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 toinstall using thetemplate NuGet packages will need to be on Windows in order to produce the appropriate assets.

Test

  • Users can test the dotnet core templates that reside in the templates_feed folder by running the test scripttest.cmd
  • Note: Please make sure you have run the build script before you run the test script.

Note

Please note the templates inside thetemplate_feed folder were moved into thedotnet/sdk and they are kept here only for potential fixes of .NET 9.0.1XXX.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp