Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TestFilter (0.13 sec)

  1. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

    import org.gradle.api.specs.Specs;
    import org.gradle.api.tasks.testing.AbstractTestTask;
    import org.gradle.api.tasks.testing.Test;
    import org.gradle.api.tasks.testing.TestExecutionException;
    import org.gradle.api.tasks.testing.TestFilter;
    import org.gradle.execution.EntryTaskSelector;
    import org.gradle.execution.TaskSelection;
    import org.gradle.execution.TaskSelectionException;
    import org.gradle.execution.plan.ExecutionPlan;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "can use broken test filter [#testFilter]"() {
            given:
            def lib = new SwiftLibWithXCTest()
            settingsFile << "rootProject.name = '${lib.projectName}'"
            buildFile << "apply plugin: 'swift-library'"
            lib.writeToProject(testDirectory)
    
            when:
            runAndFail('xcTest', '--tests', testFilter)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java

         * Classes or method names are supported, wildcard '*' is supported.
         * For more information see the user guide chapter on testing.
         *
         * For more information on supported patterns see {@link TestFilter}
         */
        @Option(option = "tests", description = "Sets test class or method name to be included (in addition to the test task filters), '*' is supported.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/native/swift_testing.adoc

    include::sample[dir="snippets/swift/testFiltering/groovy",files="build.gradle[tags=test-filtering]"]
    ====
    
    For more details and examples of declaring filters in the build script, please see the TestFilter reference.
    
    The command-line option is especially useful to execute a single test method.
    It is also possible to supply multiple `--tests` options, all of whose patterns will take effect.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. pkg/kube/kclient/client_test.go

    			// Ignore the adds
    			return !strings.HasPrefix(s, "add/")
    		})
    		return slices.Equal(events, []string{"delete/selected"}) ||
    			slices.Equal(events, nil)
    	}, retry.Timeout(time.Second*3))
    }
    
    func TestFilter(t *testing.T) {
    	tracker := assert.NewTracker[string](t)
    	c := kube.NewFakeClient()
    	meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{})
    	testns := clienttest.NewWriter[*corev1.Namespace](t, c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. pkg/slices/slices_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			if got := FindFunc(tt.elements, tt.fn); !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("FindFunc got %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestFilter(t *testing.T) {
    	tests := []struct {
    		name     string
    		elements []string
    		fn       func(string) bool
    		want     []string
    	}{
    		{
    			name:     "empty element",
    			elements: []string{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    |<<command_line_interface#command_line_interface,Command line interface>>
    |Flags that configure build behavior and Gradle features
    |`--rerun`
    
    |<<sec:project_properties,Project properties>>
    |Properties specific to your Gradle project
    |`TestFilter::isFailOnNoMatchingTests=false`
    
    |<<#sec:gradle_system_properties,System properties>>
    |Properties that are passed to the Gradle runtime (JVM)
    |`systemProp.http.proxyHost=somehost.org`
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    				if !meet && CompilationResults[i].Error != nil {
    					t.Errorf("Unexpected err '%v' for expression '%s'", CompilationResults[i].Error, validations[i].GetExpression())
    				}
    			}
    		})
    	}
    }
    
    func TestFilter(t *testing.T) {
    	configMapParams := &corev1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "foo",
    		},
    		Data: map[string]string{
    			"fakeString": "fake",
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java

        }
    
        /**
         * Executes the action against the {@link #getFilter()}.
         *
         * @param action configuration of the test filter
         * @since 1.10
         */
        public void filter(Action<TestFilter> action) {
            action.execute(getFilter());
        }
    
        /**
         * Sets the testExecuter property.
         *
         * @since 4.2
         */
        @UsedByScanPlugin("test-distribution, test-retry")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 42.6K bytes
    - Viewed (0)
Back to top