extent-framework / extentreports-csharp

Extent Reporting Library, .NET
http://extentreports.com
Apache License 2.0
50 stars 40 forks source link

How to skip logs for passed tests? - Question #133

Open kiragengis opened 3 years ago

kiragengis commented 3 years ago

I have a very detailed log system for my tests in Selenium with C#. But, I want to show it only for the failed tests. The tests that pass should only display something like the time it started and the time it finished. Is there any way to remove the added logs from the ExtentTest? Another solution could be to add those logs to a "buffer" and won't be written unless we decide it.

Thank you