rclabo opened a new issue #406:
URL: https://github.com/apache/lucenenet/issues/406


   Currently Lucene.Net uses `Console.WriteLine` 1804 times (although some 
lines are commented out).  A quick scan of the files containing  
`Console.WriteLine`  shows that it's being used in unit tests petty much 
exclusively.     As a new developer on the project looking into a failing test, 
 the first thing I wanted to see was the `Console.WriteLine`  output for the 
failing test.  But I struggled to find where it was output was showing up and 
after talking with @NightOwl888 I came to understand that this is something 
that still needs to be resolved.  Currently `Console.WriteLine` does not appear 
to be working in unit tests.  
   
   @NightOwl888 also mentioned that according to [How do I get nunit3-console 
to output my debug to screen (on a Windows 
box)?](https://stackoverflow.com/a/46407376) , we should maybe be using 
`TestContext.WriteLine()` instead.  So this is something I'm now investigating.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to