paulirwin commented on issue #923:
URL: https://github.com/apache/lucenenet/issues/923#issuecomment-2568530481

   I looked into this yesterday, and the only place where the test class name 
seems to be "reported" is in the stack trace. I don't believe we can easily 
manipulate the stack traces to include the child class name.
   
   We could look into modifying the NUnit test naming pattern, although they 
[strongly discourage modifying 
that](https://docs.nunit.org/articles/nunit/running-tests/Template-Based-Test-Naming.html).
 I will give it a try, though.
   
   If that doesn't work or causes issues with the IDE, I think perhaps our best 
option, per our other discussions about having an internal analyzer project, 
could be to create an analyzer with quick fix that looks for tests defined in a 
base class that haven't been overridden in the derived class, and have the 
quick fix scaffold out the overrides. While this wouldn't solve the issue as 
originally defined, it would help solve the "doesn't scale well" concern by 
automating the detection of missing overrides in the IDE and build, and the fix 
in the IDE.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to