InvoiceLint.Testing
0.1.0-dev.2
This is a prerelease version of InvoiceLint.Testing.
dotnet add package InvoiceLint.Testing --version 0.1.0-dev.2
NuGet\Install-Package InvoiceLint.Testing -Version 0.1.0-dev.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="InvoiceLint.Testing" Version="0.1.0-dev.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InvoiceLint.Testing" Version="0.1.0-dev.2" />
<PackageReference Include="InvoiceLint.Testing" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add InvoiceLint.Testing --version 0.1.0-dev.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: InvoiceLint.Testing, 0.1.0-dev.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package InvoiceLint.Testing@0.1.0-dev.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=InvoiceLint.Testing&version=0.1.0-dev.2&prerelease
#tool nuget:?package=InvoiceLint.Testing&version=0.1.0-dev.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
InvoiceLint.Testing
Test helpers for InvoiceLint rule packs: catalog checks and XML mutation helpers.
Install
dotnet add package InvoiceLint.Testing --version 0.1.0-dev.2
Use from test projects. Depends on InvoiceLint.Core.
Catalog checks
using InvoiceLint.Testing;
IReadOnlyList<string> problems = RulePackChecks.Verify(
MyRulePack.Instance,
typeof(MyRulePack).Assembly);
if (problems.Count > 0)
throw new InvalidOperationException(string.Join("; ", problems));
Mutations
using System.Xml.Linq;
using InvoiceLint;
using InvoiceLint.Testing;
var mutation = new Mutation("drop-flag", "toy-flag", doc =>
{
doc.Root!.Element(doc.Root.Name.Namespace + "Flag")?.Remove();
});
XDocument mutated = MutationRunner.Apply(baseDocument, mutation);
ValidationResult result = Validator.Validate(mutated, MyRulePack.Instance);
Docs
| Resource | What |
|---|---|
| Product page | Canonical docs + NuGet link |
| Getting started gist | Same how-to mirror |
| NuGet Gallery | Package versions and downloads |
| InvoiceLint.Core | Engine product page |
License
MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- InvoiceLint.Core (>= 0.1.0-dev.2)
-
net8.0
- InvoiceLint.Core (>= 0.1.0-dev.2)
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.1.0-dev.2 | 39 | 10/22/2026 |
| 0.1.0-dev.1 | 54 | 10/14/2026 |