Testing Concurrency

1 view
Skip to first unread message

Paul Cowan

unread,
Oct 12, 2009, 5:53:13 AM10/12/09
to altnetuk...@googlegroups.com
Hi,

I am working on an application where concurrency is likely and we really need to ensure that it does not happen.

I am using Nhibernate and I am using the Version element which we have tested and it obviously does work.

The question is, is it worth the effort to create integration tests for concurrency that run during the CI build?

My instinct is no because such tests are likely to be brittle and hard to maintain with lengthy set up scripts.

Does anybody disagree with the above statement and if so how do they approach integration tests of such a nature?

Cheers

Paul Cowan

Cutting-Edge Solutions (Scotland)

http://thesoftwaresimpleton.blogspot.com/

ipart...@gmail.com

unread,
Oct 12, 2009, 6:41:46 AM10/12/09
to Paul Cowan, altnetuk...@googlegroups.com
Paul,

Have you looked a tool like Chess

http://research.microsoft.com/en-us/downloads/b23f8dc3-bb73-498f-bd85-1de121672e69/default.aspx

Add the command into you CI job, I am no expert but might be able to give you start point.

Regards

Iain
Reply all
Reply to author
Forward
0 new messages