Precept.Core
0.2.0
See the version list below for details.
dotnet add package Precept.Core --version 0.2.0
NuGet\Install-Package Precept.Core -Version 0.2.0
<PackageReference Include="Precept.Core" Version="0.2.0" />
<PackageVersion Include="Precept.Core" Version="0.2.0" />
<PackageReference Include="Precept.Core" />
paket add Precept.Core --version 0.2.0
#r "nuget: Precept.Core, 0.2.0"
#:package Precept.Core@0.2.0
#addin nuget:?package=Precept.Core&version=0.2.0
#tool nuget:?package=Precept.Core&version=0.2.0
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.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.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.Data
Database testing for Precept. Provider-agnostic: works with any ADO.NET provider (SQL Server, PostgreSQL, MySQL, SQLite) supplied by the test project. |
|
|
Precept.Api
HTTP API testing for Precept: a fluent request builder, response assertions, and automatic request/response logging into the test report. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.11.1 | 0 | 9/16/2026 |
| 0.11.0 | 29 | 9/15/2026 |
| 0.10.0 | 192 | 9/10/2026 |
| 0.8.0 | 179 | 9/10/2026 |
| 0.7.0 | 188 | 9/9/2026 |
| 0.6.0 | 201 | 9/2/2026 |
| 0.5.1 | 192 | 9/2/2026 |
| 0.5.0 | 196 | 9/1/2026 |
| 0.4.1 | 214 | 8/16/2026 |
| 0.4.0 | 208 | 8/16/2026 |
| 0.3.0 | 199 | 8/15/2026 |
| 0.2.0 | 198 | 8/15/2026 |
| 0.1.3 | 173 | 8/13/2026 |
| 0.1.2 | 172 | 8/13/2026 |
| 0.1.1 | 185 | 8/13/2026 |
| 0.1.0 | 173 | 8/12/2026 |