
How do folks like to package up QuickCheck tests for their libraries? In the main library? As a separate repo & package? Same repo & separate package? Keeping tests with the tested code allows testing of non-exported functionality, but can add quite a lot of clutter. My current leaning is to split a package "foo" into packages "foo" and "foo-test", but first I'd like to hear about others' experiences, insights, and preferences. Thanks, - Conal

2008/9/9 Conal Elliott
How do folks like to package up QuickCheck tests for their libraries? In the main library? As a separate repo & package? Same repo & separate package? Keeping tests with the tested code allows testing of non-exported functionality, but can add quite a lot of clutter.
If they're in a separate package it's less easy to wire quickcheck tests into the commit procedure. Cheers, D
participants (2)
-
Conal Elliott
-
Dougal Stanton