Fix Launching Tests from Context Menu

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      The jtreg IntelliJ plugin can create run configurations for jtreg tests in a variety of ways. One way which currently doesn't work that well is creating run configurations by using the context menu.

      For example: when a user right-clicks in the middle of a test method, the JTReg run configuration producer does not recognize that we are trying to create a run configuration for that test method, and instead falls back to creating a run configuration for the whole file.

      We can fix this by looking up the first enclosing parent of the line that we can create a configuration for.

            Assignee:
            Jorn Vernee
            Reporter:
            Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: