isTesting

Boolean determining whether the application is running tests or not.

version(Diamond_UnitTesting)
static const
bool isTesting;

Meta