I'm investigating property-based testing for Oxen projects, I think libsession-util is a good start, and session::bt::merge is a good toy study case.
To use property-based testing, the first step is to define data generators, the second step is to define properties.
I implemented a toy data generator for a simplified version of bt_value type, next step is to integrate it into the rest of the code.
Once I have some working prototypes I'll create a draft PR for discussion.
In the meantime comments and feedback are appreciated!