On Fri, Nov 28, 2014 at 11:43:56AM +1100, Carlo Zancanaro wrote: > I've been working on a library for a little bit which I'm calling > stateful-check (at least for now). It's mainly my attempt to work > towards the sort of stateful testing that I first saw in John Hughes' > talk "Testing the Hard Stuff and Staying Sane"[1]. > > https://github.com/czan/stateful-check > https://clojars.org/org.clojars.czan/stateful-check
I've just released version 0.2.0 to clojars. The main things it fixes are my frustrations at two things: 1. not being able to use `(:key state)` in `:model/next-state` 2. not being able to access the result of the setup function in actual commands, leading to needing a dummy command which has to be run first before any others (which reduces the effectiveness of shrinking) I've also made some keys more consistent in their model/ and real/ prefixes. This means it's not backwards compatible, but it's a simple keyword replacement to fix anything that's broken. Carlo > [1]: https://www.youtube.com/watch?v=zi0rHwfiX1Q -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature