Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for failTest (0.11 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy

            result.testClass('pkg.FailedTest').assertTestFailed('failTest', CoreMatchers.anything())
            result.testClass('pkg.OtherTest').assertTestPassed('passingTest')
    
            where:
            description        | taskList                   | buildConfig
            'default config'   | ['test']                   | ''
            'failFast = false' | ['test']                   | 'test { failFast = false }'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy

            root.file('src/test/java/pkg/FailedTest.java') << """
                package pkg;
                $testFrameworkImports
                public class FailedTest {
                    @Test
                    public void failTest() {
                        ${server.callFromBuild("$FAILED_RESOURCE")}
                        throw new RuntimeException();
                    }
                }
            """.stripIndent()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fail_fast.txt

    # test fail fast
    ! go test ./failfast_test.go -run='TestFailingA' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=false
    stdout -count=2 'FAIL - '
    
    # mix with non-failing tests
    ! go test ./failfast_test.go -run='TestA|TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

      }
    
      open fun clear() {
        responseQueue.clear()
      }
    
      override fun shutdown() {
        responseQueue.add(DEAD_LETTER)
      }
    
      open fun setFailFast(failFast: Boolean) {
        val failFastResponse =
          if (failFast) {
            MockResponse(code = HttpURLConnection.HTTP_NOT_FOUND)
          } else {
            null
          }
        setFailFast(failFastResponse)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_cache_inputs.txt

    go test testcache -run=Benchtime -bench=Benchtime -benchtime=1x
    ! stdout '\(cached\)'
    
    # golang.org/issue/47355: that includes the `-failfast` argument.
    go test testcache -run=TestOSArgs -failfast
    ! stdout '\(cached\)'
    go test testcache -run=TestOSArgs -failfast
    stdout '\(cached\)'
    
    # golang.org/issue/64638: that includes the `-fullpath` argument.
    go test testcache -run=TestOSArgs -fullpath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java

            filter.setCommandLineIncludePatterns(testNamePattern);
            return this;
        }
    
        @Internal
        boolean getFailFast() {
            return failFast;
        }
    
        void setFailFast(boolean failFast) {
            this.failFast = failFast;
        }
    
        /**
         * The reports that this task potentially produces.
         *
         * @return The reports that this task potentially produces
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/flagdefs.go

    	"blockprofile":         true,
    	"blockprofilerate":     true,
    	"count":                true,
    	"coverprofile":         true,
    	"cpu":                  true,
    	"cpuprofile":           true,
    	"failfast":             true,
    	"fullpath":             true,
    	"fuzz":                 true,
    	"fuzzminimizetime":     true,
    	"fuzztime":             true,
    	"list":                 true,
    	"memprofile":           true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.Test.xml

                    <td>excludes</td>
                    <td>[]</td>
                </tr>
                <tr>
                    <td>testLogging</td>
                    <td/>
                </tr>
                <tr>
                    <td>failFast</td>
                    <td><literal>false</literal></td>
                </tr>
                <tr>
                    <td>modularity</td>
                    <td/>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java

         */
        @Option(option = "fail-fast", description = "Stops test execution after the first failed test.")
        @Override
        public void setFailFast(boolean failFast) {
            super.setFailFast(failFast);
        }
    
        /**
         * Indicates if this task will fail on the first failed test
         *
         * @return whether this task will fail on the first failed test
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/testflag.go

    	cf.String("blockprofilerate", "", "")
    	cf.Int("count", 0, "")
    	cf.String("cpu", "", "")
    	cf.StringVar(&testCPUProfile, "cpuprofile", "", "")
    	cf.BoolVar(&testFailFast, "failfast", false, "")
    	cf.StringVar(&testFuzz, "fuzz", "", "")
    	cf.Bool("fullpath", false, "")
    	cf.StringVar(&testList, "list", "", "")
    	cf.StringVar(&testMemProfile, "memprofile", "", "")
    	cf.String("memprofilerate", "", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top