ProtoTest.Templates 1.1.6

dotnet new install ProtoTest.Templates@1.1.6
                    
This package contains a .NET Template Package you can call from the shell/command line.

ProtoTest.Templates

A dotnet new template with a small runnable API and ProtoTest suite. Generate it, run it, experiment with it.

For a larger (more complicated) example, see Learning demo.

Quick start

dotnet new install ProtoTest.Templates

dotnet new prototest -n Shop
cd Shop
dotnet test

Choose the test runner

The starter is written for NUnit by default. Pass --runner for another runner:

dotnet new prototest -n Shop --runner xunit

The choices are nunit (the default), xunit (xUnit.net v2), xunit3 (xUnit.net v3), tunit and mstest. Each variant references that runner's ProtoTest adapter and test packages, and its Starter.Tests/Setup.cs carries that runner's lifecycle wiring. The xunit3 and tunit variants are Microsoft Testing Platform projects: their generated global.json selects the MTP dotnet test runner, so run the commands from the generated folder.

Learn more

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.6 0 10/4/2026
1.1.5 7 10/3/2026
1.1.4 31 10/3/2026
1.1.3 42 10/3/2026
1.1.2 39 10/3/2026
1.1.1 41 10/2/2026
1.1.0 51 10/2/2026
1.0.1 151 9/20/2026
1.0.0 102 9/20/2026