Library that provides a simple way to detect whether your code is running in a test environment or not. It currently supports detecting MSTest, NUnit, and xUnit test frameworks.
Why do you think that https://github.com/LightBDD/LightBDD is a good alternative to EnvironmentDetector