spec is easy to use for validation, because in this case specs are easy to write. basically you don’t really care about the value, just care about the type or data shape. But for generating test, I found, at least for me, the spec generators are really hard to write, the most simple way I could found is write a few sample data with set, like #{"A" "B" "C"}. However this seems to be useless for test.
for example, code like:
The idt-key could be a qualified-keyword?, what would be the spec for entity, a map contains a key called idt-key or just map?.
Any experiences or tips will be much appreciated.