Hegel for C#
The API reference of the Hegel and
Hegel.Xunit NuGet packages: property-based testing
for C#, driven by the Hegel engine.
dotnet add package Hegel
dotnet add package Hegel.Xunit
Hegelis the library:Property.Testruns a property written against aTestCase,Generatorsholds the generators,Settingsconfigures a run andStatefuldrives a state machine.Hegel.Xunitadds[HegelTest], which makes a method taking aTestCasean xUnit v2 test.
The README is the guide. F#
has its own package, Hegel.FSharp, and its own reference.