Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for failTest (0.18 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-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

      }
    
      fun enqueueResponse(response: MockResponse) {
        delegate.enqueueResponse(response.wrap())
      }
    
      override fun shutdown() {
        delegate.shutdown()
      }
    
      fun setFailFast(failFast: Boolean) {
        delegate.setFailFast(failFast)
      }
    
      fun setFailFast(failFastResponse: MockResponse?) {
        delegate.setFailFast(failFastResponse?.wrap())
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/go/testdata/script/test_fail_newline.txt

    # was emitted and whether it ended in a newline, but that seems too invasive.)
    go test
    ! stderr .
    stdout '^skippingok\s+example/skip'
    
    
    -- go.mod --
    module example
    
    go 1.18
    -- fail/fail_test.go --
    package fail
    
    import (
    	"os"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	os.Stderr.WriteString("exitcode=1")
    	os.Exit(1)
    }
    -- skip/skip_test.go --
    package skip
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 21:33:23 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. 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)
Back to top