Re: test.check, quickcheck concurrency

2014-03-31 Thread Kevin Downey
On 3/28/14, 9:48 PM, Brian Craft wrote:
> Re: John Hughes' talk at clojure/west, at the end he did a fairly 
> incredible demo of testing concurrency. It doesn't look like this was 
> implemented in test.check (or I'm not finding it). Are there any plans?
> 

from my understanding his approach is using quickcheck to generate
histories and then check those histories for linearizability.

maybe some combination of test.check and
https://github.com/aphyr/knossos could do that.

-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

-- 
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.


Re: test.check, quickcheck concurrency

2014-03-29 Thread Reid Draper
Hi Brian,

clojure.test.check does not currently ship with any concurrency support. 
That being said, I've been working an implementation on Erlang's PULSE, 
which I hope to have usable in the next couple months [1][2]. John's talk 
touches on using state machines to test concurrent code, which is something 
I'd like to attack eventually, but don't have any concrete plans at the 
moment.

Reid

[1] https://groups.google.com/forum/#!topic/clojure-dev/GhG-PbKW_ew
[2] http://www.cse.chalmers.se/~nicsma/papers/finding-race-conditions.pdf

On Friday, March 28, 2014 11:48:20 PM UTC-5, Brian Craft wrote:
>
> Re: John Hughes' talk at clojure/west, at the end he did a fairly 
> incredible demo of testing concurrency. It doesn't look like this was 
> implemented in test.check (or I'm not finding it). Are there any plans?
>

-- 
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.


test.check, quickcheck concurrency

2014-03-28 Thread Brian Craft
Re: John Hughes' talk at clojure/west, at the end he did a fairly 
incredible demo of testing concurrency. It doesn't look like this was 
implemented in test.check (or I'm not finding it). Are there any plans?

-- 
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.