I have some code I would like to run, only if the current report level is Debug.
I can use the current test suite debug level in the TestSuite.Current.ReportLevel, but since each container or test case can have a level other than Inherit, I need to know the actual report level of the test container.
While debugging, I can see the local variable of ReportLevel for the TestSuite.Current.CurrentTestContainer, but I cannot actually use it in code
What would be the proper way to tell what the current report level was?
Class library usage, coding and language questions.
2 posts • Page 1 of 1