mitchellwrosen / tasty-hspec

Hspec provider for tasty
Other
15 stars 10 forks source link

Example usage #9

Closed fatlazycat closed 8 years ago

fatlazycat commented 8 years ago

Hi, do you have an example usages of tasty-hspec when joining it with say hunit / quick check tests that are not coded up in the hspec style i.e. from tasty-hunit, tasty-quickcheck ?

Thanks

mitchellwrosen commented 8 years ago

I'm not sure I understand :)

tasty-hspec allows you to take your Specs and convert them to tasty's TestTree, to be run with defaultMain and so forth. Annoyingly, it's not a pure function - maybe I'll look back over the API and see if I'm doing something dumb.

fatlazycat commented 8 years ago

Ha i think it's me being dumb :) Just learning Haskell but have sorted it now thanks and combined them.

Though did wonder why it wasn't a pure fn :)