Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1200

Could not run single test by full name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.19
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Since 2.19 I can't run a single test by full name anymore:

      package my.tests;
      
      import org.junit.Test;
      
      public class MyTest {
      
          @Test
          public void shouldRun() throws Exception {
          }
      }
      

      And then command

      Unable to find source-code formatter for language: bash. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      mvn clean test -Dtest=my.tests.MyTest
      

      Doesn't run any tests.

      BTW -Dtest=MyTest works fine and -Dtest=my/tests/MyTest works fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                baev Dmitry Baev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: