google / google/fuzztest

How to implement custom stateful domains

Open
#449 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.1k
Forks
137
Avg merge
3d 6h
Merged PRs (30d)
22

Description

Hi,

I'd like to use FuzzTest to test my event-driven state machines by feeding them random events. However, the events are stateful, meaning that by contract a state machine could assume that e.g. once an `EVENT_OPEN` is sent to it, `EVENT_OPEN` must not be re-sent before an `EVENT_CLOSE` is sent first.
Is there any way to achieve this with `fuzztest`?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.