Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13629

Some tests are excluded from maven build because of wrong class name

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0.RC1, 3.0.0
    • None
    • None
    • Unknown

    Description

      There are some tests, which were probably meant to run during build, but does not follow .*Test.java or *IT.java filename pattern.

       

      This returns 46 files on current master (output attached):

      grep -rnw './camel' --include=\*.java -e '@Test' -l | grep -v -e '.*Test.java' -e '.*TestSupport.java' -e '.*TestBase.java' -e '.*IT.java'
      

      This method is not bulletproof and returns some false-positives, but most of the matches should be IMO renamed to follow filename patternt and thus be executed during maven build.

       

       

      Attachments

        1. grepResult.txt
          5 kB
          Jan Bednar

        Issue Links

          Activity

            People

              bedla Jan Bednar
              bedla Jan Bednar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m