[ 
https://issues.apache.org/jira/browse/LUCENE-7937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140732#comment-16140732
 ] 

Dawid Weiss commented on LUCENE-7937:
-------------------------------------

This is a regression that happened at some point when I was refactoring code to 
work around another problem (with hierarchical test descriptions being 
identical in case of repeated tests). Unfortunately the IDEs are pretty dumb 
and what we do in randomized testing stretches JUnit assumptions a bit (for 
example we append randomization seed to each method execution if a single test 
is repeated).

I filed an issue here and will think how to best handle it without breaking 
other stuff.
https://github.com/randomizedtesting/randomizedtesting/issues/251

> Improve tests to play nicely w/IntelliJ IDE
> -------------------------------------------
>
>                 Key: LUCENE-7937
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7937
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/test
>    Affects Versions: 7.1
>            Reporter: Mike Sokolov
>         Attachments: Screen Shot 2017-08-23 at 4.27.19 PM.png, Screen Shot 
> 2017-08-23 at 4.27.49 PM.png, Screen Shot 2017-08-23 at 4.28.22 PM.png
>
>
> When running a single test in IntelliJ, something about the way the tests are 
> run causes the UI to display all the tests in the class *other than the one 
> that was run* as if they had been ignored. In contrast, running a single test 
> in a typical test case class not derived from LuceneTestCase shows only the 
> status of that test case method, not all the other methods in the class.
> This is somewhat irritating since it makes it hard to see what's going on 
> with the test of interest.
> This is with IntelliJ 2017.1.4, junit 4.12



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to