Precept.Templates 0.12.0

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

Precept.Templates

dotnet new templates for Precept test projects, with and without Reqnroll. A new suite starts with environment switching, precept.json overlays and a first test already in place.

dotnet new install Precept.Templates
# Plain C# tests + Precept.Web
dotnet new precept-web -n Checkout.Web.Tests

# Reqnroll feature tests + Precept.Web
dotnet new precept-web-reqnroll -n Checkout.Web.Reqnroll.Tests

Each template includes:

  • global.json set to Microsoft.Testing.Platform, which dotnet test needs on the .NET 10 SDK. Inside a larger repository, move its test section to the root global.json, because the SDK reads the file from the directory you run dotnet test in, not from the project's.
  • precept.json with Environment: local and web defaults.
  • precept.staging.json, an overlay for staging, used with --precept-environment staging.
  • A starter test, either plain C# or a .feature file with its step definitions.

Build configurations are left as the SDK defines them, with nothing bound to PreceptEnvironment. How an environment is chosen is up to you.

Precept.Web uses Playwright. It installs a browser on first use, or you can install one up front:

pwsh bin/Debug/net10.0/playwright.ps1 install chromium

Part of Precept, a .NET 10 test framework built on Microsoft.Testing.Platform. Full documentation: project templates · environments · installing browsers

  • net10.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
0.12.0 0 9/19/2026
0.11.1 64 9/16/2026
0.11.0 73 9/15/2026
0.10.0 96 9/10/2026
0.8.0 87 9/10/2026
0.7.0 88 9/9/2026
0.6.0 102 9/2/2026
0.5.1 98 9/2/2026
0.5.0 99 9/1/2026
0.4.1 147 8/16/2026
0.4.0 144 8/16/2026
0.3.0 132 8/15/2026
0.2.0 123 8/15/2026
0.1.3 130 8/13/2026
0.1.2 135 8/13/2026
0.1.1 131 8/13/2026
0.1.0 136 8/12/2026