Substantive.DevTools 9.17.9-build20260119r1
Substantive.DevTools
Utilities for solution developers who need lightweight helpers during integration, test automation, or diagnostics. The library ships with mock domain models, fake services, and internal helpers so feature teams can quickly stand up realistic scaffolding without rewriting plumbing code.
What's Included
- Mock data models – strongly typed entities +
MockDomainModelDbContextfor testing EF Core pipelines with real constraints instead of in-memory stores. - Mock utilities –
MockUtilshelpers to seed/delete/query mock data, createDefaultHttpContextinstances, or simulate long-running/erroring tasks. - Fake services and exceptions – e.g.,
FakeMathService/IFakeCalculatorandMockCustomExceptionfor dependency demonstrations.
Usage
- Reference the
DevToolsproject from the consuming test or sample project. - Register your EF Core context plus any fake services in DI.
- Use the mock models or utilities to seed data and drive scenario tests (see
MockDataModels/**for domain-specific sets).
⚠️ Do not use in-memory or SQLite providers for integration tests that must enforce relational constraints. Prefer SQL Server/Postgres via Dev Containers or TestContainers.
Showing the top 20 packages that depend on Substantive.DevTools.
| Packages | Downloads |
|---|---|
|
Substantive.Foundation.Backends
A metapackage contains all Substantive backend building blocks.
|
3 |
|
Substantive.Foundation.Backends
A metapackage contains all Substantive backend building blocks.
|
4 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
3 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
4 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
5 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
6 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
10 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
16 |
|
Substantive.TestTools
Collection of test and experiment tools. This library have abstract classes that help create unit test and integration test, mock domain models with bogus data, and mock business logic.
|
26 |
.NET 10.0
- Substantive.ComponentModel (>= 9.17.9-build20260119R1)
- AutoBogus (>= 2.13.1)
- AutoFixture.Xunit2 (>= 4.18.1)
- Bogus (>= 35.6.5)
- Bogus.Healthcare (>= 35.6.5)
- Bogus.Hollywood (>= 35.6.5)
- Bogus.Locations (>= 35.6.5)
- Bogus.Text (>= 35.6.5)
- CountryData.Bogus (>= 6.15.0)
- Microsoft.EntityFrameworkCore (>= 10.0.2)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.2.0)
- Nager.Country (>= 4.3.5)
- Nager.Country.Translation (>= 4.3.5)
- NaughtyStrings.Bogus (>= 3.0.0)
- NodaTime.Bogus (>= 3.0.2)