Hi, I recently ran into an issue using NCrunch where static variables for the class are shared across multiple tests when running in parallel - even tests that are in different files.
For example, I have a class with
public static bool logFile
When the application starts, it is supposed to assign the logFile, and this is shared across all class instances. However, if I have two tests running, even with different logFile names, the logFile will be assigned by just one of the tests.
Is there anyway to compartmentalize the tests so that static is not shared? How do others handle this?