Wickra.StrategyCi
0.1.1
dotnet add package Wickra.StrategyCi --version 0.1.1
NuGet\Install-Package Wickra.StrategyCi -Version 0.1.1
<PackageReference Include="Wickra.StrategyCi" Version="0.1.1" />
<PackageVersion Include="Wickra.StrategyCi" Version="0.1.1" />
<PackageReference Include="Wickra.StrategyCi" />
paket add Wickra.StrategyCi --version 0.1.1
#r "nuget: Wickra.StrategyCi, 0.1.1"
#:package Wickra.StrategyCi@0.1.1
#addin nuget:?package=Wickra.StrategyCi&version=0.1.1
#tool nuget:?package=Wickra.StrategyCi&version=0.1.1
Wickra Strategy-CI — C#
.NET bindings for the Wickra Strategy-CI test runner over its C ABI hub. A
Session drives the deterministic core over a JSON boundary, so the result is
byte-identical to every other Wickra Strategy-CI binding.
Install
dotnet add package Wickra.StrategyCi
The correct native library is resolved automatically per platform from the
NuGet runtimes/<rid>/native/ payload; in a dev checkout the resolver also
probes the Cargo target/{release,debug} tree.
Usage
using Wickra.StrategyCi;
using var session = new Session();
string response = session.Command("""
{
"cmd": "run_test",
"test": {
"id": "momentum",
"strategy": { },
"dataset_ref": "sym-01",
"property_checks": [{ "kind": "no_nan" }]
},
"data": { "sym-01": [ ] }
}
""");
Console.WriteLine(response);
Surface
new Session()— a stateless test session; tests and data are passed with each command. ImplementsIDisposable.session.Command(cmdJson) -> string— run a command envelope ({"cmd":"...", ...}) and return the response JSON. Commands:run_test,bless,run_suite,list,version.Session.Version() -> string— the crate version.
Internal errors come back as an {"ok": false, "error": ...} response, not as a
thrown exception.
Determinism
The response bytes are identical across languages and between the parallel and sequential execution paths, because the whole test runner lives once in the Rust core and this binding forwards its JSON verbatim.
See also
- The main project: https://github.com/wickra-lib/wickra-strategy-ci
- Documentation: https://wickra.org
License
Dual-licensed under either MIT or Apache-2.0, at your option.
| 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 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.