Slide 42
Slide 42 text
Where one discovers QuickCheck can be
Where one discovers QuickCheck can be
useful beside testing properties
useful beside testing properties
Generating sample data to test
Generating sample data to test
migration
migration
Generate sample data sets to be used as part of other kind of
tests: We used it to generate test data for schema migration code
sample_v8_Events :: [ByteString]
sample_v8_Events =
["{\"tag\":\"AddedDocuments\",\"contents\":[\"c1f09023b3a9398a1d8a257c372392ab\",[
, "{\"tag\":\"UpdatedInvestor\",\"contents\":{\"invDocuments\":[],
\"invBankAccount\":{\"bankBranch\":\"Ge\",\"bankAccountName\":\"1W\",\"bankAcco
\"invId\":\"46ed3336bc60a5a423962e9b6343c003\",\"invReferralCode\":{\"refer\":\
\"invLegalEntity\":{\"tag\":\"Corporate\",\"primaryContactPosition\":{\"tag\":\
, "{\"tag\":\"NoEvent\",\"contents\":[]}"
, "{\"tag\":\"AddedDocuments\",\"contents\":[\"b9973afdd569f11269fe0be736086049\"