I noticed something strange that has happened since adding logging with
log4Net.  When exceptions occur, they are caught and written as desired to
the log.  However, running via both mstest and Visual Studio 2015, despite
the fact exceptions occur, the tests are still seen as successful.

I verified it has something to do with the logging additions as I got the
previous version from TFS and I'm able to run the tests in Visual Studio
where the problematic tests do indicate failure.

I've attached a file that shows the steps I followed to get logging to work. 
I'm not sure if the addition of an app.config file causes this to be handled
differently within the testing framework or handling in Visual Studio.

Any help would be greatly appreciated!!

Selenium_and_Log4Net_Logging.docx
<http://apache-logging.6191.n7.nabble.com/file/n60848/Selenium_and_Log4Net_Logging.docx>
  



--
View this message in context: 
http://apache-logging.6191.n7.nabble.com/Using-Log4Net-with-Selenium-tp59639p60848.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

Reply via email to