A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nunit/nunit-vs-templates below:

nunit/nunit-vs-templates: Visual Studio project & item templates and snippets

NUnit Visual Studio Templates

This project has been archived.

This is a VSIX project, which we don't support anymore. Use dotnet new nunit instead, or install using Visual Studio - New Project dialog, selecting NUnit.

An extension that adds Project and Item templates to Visual Studio along with Code Snippets to make unit testing with NUnit 3 easier. We currently only plan to add templates for NUnit 3, but will add templates for NUnit 2.6.4 if there is demand.

This project is build using SideWaffle, many thanks for their great work.

You can download the extension for Visual Studio 2012-2019 from the Visual Studio Gallery or from the GitHub Releases page.

The project currently provides the following templates.

Template Platform Language Project Type NUnit 3 Unit Test Project Desktop C# Traditional Style 3 NUnit 3 Unit Test Project Desktop C# Sdk Style NUnit 3 Unit Test Project Desktop .NET Core C# SDK Style NUnit 3 Unit Test Project Desktop Visual Basic Traditional Style 3 NUnit 3 Unit Test Project Xamarin Android 1 C# Traditional Style NUnit 3 Unit Test Project Xamarin iOS 1 C# Traditional Style NUnit 3 Unit Test Project Xamarin UWP 1,2 C# Traditional Style
  1. Requires Xamarin for Visual Studio be installed.
  2. Requires the Windows 10 SDK be installed.
  3. Legacy csproj format
Template Language Description NUnit Test Fixture C# An NUnit unit test class NUnit Test Fixture Visual Basic An NUnit unit test class NUnit SetUp Fixture C# Code that runs before and after all the tests in the assembly NUnit SetUp Fixture Visual Basic Code that runs before and after all the tests in the assembly Snippet Shortcut Language Comment Test Fixture ntestfixture C# Test Method ntest C# Test Case ntestcase C# Test Case Source ntestcasesource C# Form 1 Test Case Source ntestcasesource2 C# Form 2 Test Case Source ntestcasesource3 C# Form 3 Test Case Source ntestcasesource4 C# Form 3 with testdata Assert.Multiple nmultiple C# Surround snippet

Note: "Form": Refer to documentation for details

Don't see the template you need or your favorite code snippet? All you need to do is fork the repository, add it and create a pull request. We love help and contributions.

For information on how to add templates and snippets, head over to the SideWaffle Documentation.

There is also a great walkthrough on creating templates in the June 2015 MSDN Magazine.

We highly recommend that you use the following extensions for Visual Studio when working on this project.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4