--
---
You received this message because you are subscribed to the Google Groups "Scala STM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-stm-expert-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks so much for the comprehensive answer. Given what you've said, I'm slowly come round to the fact that the 100 or so tests I have already written (originally to find a suitable key-value store with serializable transaction isolation) are fairly useless in an STM environment. :)
I do see your point, and indeed I very much don't want to bother with all the effort to get flakey tests anyway. I'm much more interested in encoding a set of requirements where it must not fail and the behaviour I'll be depending on, rather than the particular properties of an implementation. I guess that is just going to be more like the stress tests you already have rather than the specific ones I currently have. With that in mind, please don't go to the trouble writing up the recording facility on my account.
I guess my challenge now is try and find a way to set things up with minimal threading boilerplate that may otherwise hide the intent of my tests. ScalaSTM with your CCSTM implementation seems to offer exactly what I am looking for so far, so it's certainly worth the effort.
There is already a good set of tests in there I know, but when I'm finished, I'll chuck my tests your way anyway if you're interested. Just in case you find any useful.
Thanks again,
Kieron