Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7937

Improve tests to play nicely w/IntelliJ IDE

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, 8.0
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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

        Attachments

        1. Screen Shot 2017-08-23 at 4.28.22 PM.png
          20 kB
          Michael Sokolov
        2. Screen Shot 2017-08-23 at 4.27.49 PM.png
          46 kB
          Michael Sokolov
        3. Screen Shot 2017-08-23 at 4.27.19 PM.png
          46 kB
          Michael Sokolov

          Issue Links

            Activity

              People

              • Assignee:
                dweiss Dawid Weiss
                Reporter:
                sokolov Michael Sokolov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: