You are going to have some shared data amongst your tests somewhere (the dreaded shared fixture). If you really can't work out why this is then I would add lots of trace logs throughout the code. Tools such as log4net have the ability to assign the logger a context (ie see logical thread context for log4net); you can use this feature to relate your trace logs back to the tests. Following this, there should be some logs that look suspicious (i.e. expecting there to be two rows returned from a database instead of three) and help you reason about the problem.
--
You received this message because you are subscribed to the Google Groups "SpecFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to specflow+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
While you're at it consider putting loggers on any setters. Once the bug is found consider eliminating setters. Many hard to fathom problems come from misused setters.
Cheers
Setters I wasn't thinking this was likely a specflow problem. I assume that there is some state that is being carried over.
I assume that means a business or rules object has gotten into a strange state. I find that often happens because of setters.
Perhaps I should create an anti setters campaign just like Francesco did for anti if.
Cheers
Mark
I looked and I don't know how to turn parallel on or off. I am using the default setup.
PS: The rule logic is designed as to not have any internal state. In production the rule logic is used across many threads and works fine.