AtomiCloud.Diene.Result.TestHelper 1.0.0

dotnet add package AtomiCloud.Diene.Result.TestHelper --version 1.0.0
                    
NuGet\Install-Package AtomiCloud.Diene.Result.TestHelper -Version 1.0.0
                    
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="AtomiCloud.Diene.Result.TestHelper" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AtomiCloud.Diene.Result.TestHelper" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="AtomiCloud.Diene.Result.TestHelper" />
                    
Project file
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 AtomiCloud.Diene.Result.TestHelper --version 1.0.0
                    
#r "nuget: AtomiCloud.Diene.Result.TestHelper, 1.0.0"
                    
#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 AtomiCloud.Diene.Result.TestHelper@1.0.0
                    
#: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=AtomiCloud.Diene.Result.TestHelper&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=AtomiCloud.Diene.Result.TestHelper&version=1.0.0
                    
Install as a Cake Tool

AtomiCloud.Diene.Result

Diene's reproducible development environment is managed by Nix. Run direnv allow once, then use pls tasks from the loaded shell.

This branch is the workspace baseline inherited by every downstream sample: split CI/CD, secrets, release configuration, validators, standards, and vendored agent-skill synchronization.

Commands

  • pls setup — synchronize installed diene package skills.
  • pls lint — run every pre-commit gate.
  • pls secret:scan — scan tracked content for secrets.
  • pls skills:sync — rebuild .claude/skills/vendor/ from installed packages.

Standards

Shared standards

Domain-specific documentation belongs under docs/domain/. The docs/standards/contracts/ location is reserved for the separately owned C0 contracts standard.

.NET 10 foundation

CI Unit coverage Integration coverage Commit activity

This branch adds the .NET 10 toolchain, the App/Lib/UnitTest/IntTest sample, merged multi-project coverage, strict and LLM dead-code modes. See the .NET baseline.

Common commands:

  • pls build, pls dev, pls run, and pls preview
  • pls test, pls test:unit, pls test:int, and the coverage variants
  • pls deadcode for the non-blocking review; CI owns strict dn-inspect

The Result/Option contract is documented in docs/domain/result.md.

Publishable library packages

NuGet version NuGet downloads Meta coverage

This repository publishes AtomiCloud.Diene.Result and the companion AtomiCloud.Diene.Result.TestHelper package at one committed version. The library provides guarded rich structs for Result<T, E> and Option<T>, dotnet-idiomatic railway composition, explicit exception capture, async composition, and versioned C0 JSON tuple codecs. It has no runtime dependency and no dependency on a Problems package.

dotnet add package AtomiCloud.Diene.Result
dotnet add package AtomiCloud.Diene.Result.TestHelper
using AtomiCloud.Diene.Results;
using AtomiCloud.Diene.Results.TestHelper;

Result<int, string> parsed = Result.Ok<int, string>(21);
var answer = parsed.Map(value => value * 2);
answer.Should().BeOk(42);

The package ID is singular but the namespace is plural AtomiCloud.Diene.Results; this avoids the namespace/type collision between a namespace tail and the Result type. Use Result.Ok/Result.Err when the success and error types are identical. Serialize only ResultSerial and OptionSerial, never the in-memory structs.

Run nix develop .#ci -c ./scripts/ci/pkg-validate.sh to pack both packages, validate metadata and symbols, and restore them into a scratch consumer. See the library baseline for release and promotion guidance.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on AtomiCloud.Diene.Result.TestHelper:

Package Downloads
AtomiCloud.Diene.Interfaces.TestHelper

In-memory seam mocks, shared contract suites, and FluentAssertions steps for AtomiCloud.Diene.Interfaces.

AtomiCloud.Diene.Otel.TestHelper

The trace-seam test double and assertions for AtomiCloud.Diene.Otel. Logging and metrics mocks live in AtomiCloud.Diene.Interfaces.TestHelper.

AtomiCloud.Diene.E2e.TestHelper

Diene family TestHelper bundle plus black-box response assertions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 329 7/25/2026