[Haskell-beginners] hspec questions

Mark Volkmann r.mark.volkmann at gmail.com
Sat Jan 6 13:22:18 UTC 2018


It seems that I can use either "before" or "before_" to specify a function
to run before each of my tests.
However, to specify a function to run after each of my tests I can use
"after_", but not "after".
Is that correct?

Also, I can't get "around_" or "around" to work. The example at
https://hspec.github.io/writing-specs.html uses the bracket function which
I hadn't seen before, but it doesn't work for me. I'd love to see another
example of this.

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180106/844b4429/attachment.html>


More information about the Beginners mailing list