Precept.Templates
0.12.0
dotnet new install Precept.Templates@0.12.0
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.jsonset toMicrosoft.Testing.Platform, whichdotnet testneeds on the .NET 10 SDK. Inside a larger repository, move itstestsection to the rootglobal.json, because the SDK reads the file from the directory you rundotnet testin, not from the project's.precept.jsonwithEnvironment: localand web defaults.precept.staging.json, an overlay forstaging, used with--precept-environment staging.- A starter test, either plain C# or a
.featurefile 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 |