Class MochaParserTask

    • Field Detail

      • DEFAULT_TEST_FILE_PATTERN

        public static final java.lang.String DEFAULT_TEST_FILE_PATTERN
        Deprecated.
    • Constructor Detail

      • MochaParserTask

        public MochaParserTask()
        Deprecated.
    • Method Detail

      • testFilePattern

        public MochaParserTask testFilePattern​(@NotNull
                                               @NotNull java.lang.String testFilePattern)
        Deprecated.
        Ant-style pattern of test results file to parse. If not set, the default value of 'mocha.json' will be used.
      • workingSubdirectory

        @Deprecated
        public MochaParserTask workingSubdirectory​(@Nullable
                                                   @Nullable java.lang.String workingSubdirectory)
        Deprecated.
        since 6.3 the working subdirectory should be part of testFilePattern.

        For example, the following code:

        
         new MochaParserTask()
             .workingSubdirectory("mocha/")
             .testFilePattern("*.json");
         

        can be simplified to:

        
         new MochaParserTask()
             .testFilePattern("mocha/*.json");
         
        Specify an alternative subdirectory as working directory for the task.
      • pickUpTestResultsCreatedOutsideOfThisBuild

        public MochaParserTask pickUpTestResultsCreatedOutsideOfThisBuild​(boolean pickUpTestResultsCreatedOutsideOfThisBuild)
        Deprecated.
        When set to true, files created before the current build was started will be analyzed as valid tests results.