Skip to content

Stateful testing#471

Merged
AlexeyRaga merged 7 commits into
masterfrom
stateful-testing
Dec 15, 2025
Merged

Stateful testing#471
AlexeyRaga merged 7 commits into
masterfrom
stateful-testing

Conversation

@AlexeyRaga
Copy link
Copy Markdown
Contributor

  • Add State Machine Property Based testing library (and docs about what it is and how to use it)
  • Make API Reference render in both C# and F#
  • Add missing extension methods for Property for C# (around rendering reports, no functional or impactful changes in the core lib)

@AlexeyRaga AlexeyRaga merged commit 94e5e77 into master Dec 15, 2025
2 checks passed
@AlexeyRaga AlexeyRaga deleted the stateful-testing branch December 16, 2025 02:36
Copy link
Copy Markdown
Member

@moodmosaic moodmosaic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This is a massive and well-architected addition. I did a first pass and it looks great overall.

I’ll do a deeper review, but my initial read suggests a few small-but-important issues around isLinearizable and the parallel path that might need tightening (identity/consumption of outputs, starting state, and Ensure/Require handling).

I’ll follow up with more detail soon.

Comment thread src/Hedgehog.Stateful/Sequential.fs
Comment thread src/Hedgehog.Stateful/Types.fs
Comment thread src/Hedgehog.Stateful/Parallel.fs
Comment thread src/Hedgehog.Stateful/Sequential.fs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants