email-validate-hs icon indicating copy to clipboard operation
email-validate-hs copied to clipboard

Create a joint test suite with hsemail

Open peti opened this issue 10 years ago • 2 comments
trafficstars

The package hsemail provides an e-mail parser as well, and IMHO both packages should behave exactly the same in terms of which addresses they accept as valid. My package has a test suite as well as yours, but wouldn't it be nice if we could share that code somehow so that one test suite could verify both libraries? IMHO, this would be beneficial for both packages and increase the likelihood that bugs in either package are discovered.

peti avatar May 09 '15 09:05 peti

This would be interesting. Do you know of any existing examples of test-only packages?

Porges avatar May 29 '15 05:05 Porges

http://hackage.haskell.org/package/crypto-cipher-tests, for example.

peti avatar May 29 '15 09:05 peti