Precept.Core
0.1.2
See the version list below for details.
dotnet add package Precept.Core --version 0.1.2
NuGet\Install-Package Precept.Core -Version 0.1.2
<PackageReference Include="Precept.Core" Version="0.1.2" />
<PackageVersion Include="Precept.Core" Version="0.1.2" />
<PackageReference Include="Precept.Core" />
paket add Precept.Core --version 0.1.2
#r "nuget: Precept.Core, 0.1.2"
#:package Precept.Core@0.1.2
#addin nuget:?package=Precept.Core&version=0.1.2
#tool nuget:?package=Precept.Core&version=0.1.2
Precept.Core
Core abstractions for the Precept test automation framework: test attributes, the ambient test context, settings, outcome exceptions and the assertion engine.
dotnet add package Precept.Core
Most projects should not reference this directly. Install
Precept.TestPlatform instead — it brings
Precept.Core with it and adds the runner. Referencing Core on its own is for a library of shared
step definitions or helpers that must not drag the runner in.
Everything a test sees lives in the root Precept namespace, so a step definition needs no extra
using:
await Assert.That(order.Total).ToBeEqualAsync(42.00m);
await Assert.That(basket.Items).Not.ToBeEmptyAsync();
await Assert.Eventually(() => Db.ScalarAsync<long>("select count(*) from outbox where sent = 0"))
.Within(TimeSpan.FromMinutes(2))
.ToBeEqualAsync(0L);
Assertions are awaited, always — an assertion over a value in hand completes synchronously, but the same sentence has to cover an element that is not on the page yet, so waiting lives inside the assertion rather than in a sleep in front of it.
Part of Precept, a .NET 10 test automation framework. Full documentation: assertions · writing your own · configuration · dependency injection
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Configuration (>= 10.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.0)
- Microsoft.Extensions.Configuration.Json (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection (>= 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Precept.Core:
| Package | Downloads |
|---|---|
|
Precept.Web
Browser automation for Precept, built on Playwright: per-test isolation and automatic screenshot, trace and video capture on failure. |
|
|
Precept.TestData
Test data management for Precept: environment-specific data sets for users, clients, vehicles and anything else a suite needs, dynamic value generation, factories that create and clean up data in the system under test, and pooled data leased exclusively to parallel tests. |
|
|
Precept.TestPlatform
Precept's test runner: a Microsoft.Testing.Platform test framework that owns discovery, filtering, parallel scheduling, retries, lifecycle hooks and reporting for Precept tests. A test project starts here. |
|
|
Precept.Reqnroll
Optional Gherkin authoring for Precept: compiles Reqnroll feature files into Precept test classes and runs them on the Precept test runner. |
|
|
Precept.Grpc
gRPC testing for Precept: pooled channels, typed clients, and assertions over status codes, deadlines and streaming responses. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.12.0 | 64 | 9/19/2026 |
| 0.11.1 | 139 | 9/16/2026 |
| 0.11.0 | 151 | 9/15/2026 |
| 0.10.0 | 236 | 9/10/2026 |
| 0.8.0 | 216 | 9/10/2026 |
| 0.7.0 | 215 | 9/9/2026 |
| 0.6.0 | 205 | 9/2/2026 |
| 0.5.1 | 194 | 9/2/2026 |
| 0.5.0 | 197 | 9/1/2026 |
| 0.4.1 | 215 | 8/16/2026 |
| 0.4.0 | 211 | 8/16/2026 |
| 0.3.0 | 200 | 8/15/2026 |
| 0.2.0 | 204 | 8/15/2026 |
| 0.1.3 | 177 | 8/13/2026 |
| 0.1.2 | 174 | 8/13/2026 |
| 0.1.1 | 186 | 8/13/2026 |
| 0.1.0 | 174 | 8/12/2026 |