Daily Usage Issues

NCrunch Execution Flags

Started by mikeedwards83 on 6,285 views

I have some code that I want to run when using the NUnit standalone runner but should not be run when testing using NCrunch. I need to test if NCrunch is running but I don't want to include the NCrunch DLLs as part of the project.

Does NCrunch set any flags that could be accessed without referencing the NCrunch assembly, for example setting a value in the System.Threading.Thread.CurrentThread.ExecutionContext?
Excellent, thanks for the quick reply.

Post a reply

Log in to reply.