My web application writes some kind of log during runtime. I don't want to write this log when running my test suite using cucumber.
So, how can I check my current runtime environment (TEST, DEV or PROD)?
I'm looking for the C equivalent to i.e. :
#ifdef DEBUG
// just run in debug mode
#endif
Thank you very much for helping me on this.