Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,686 for testy (0.15 sec)

  1. docs/en/docs/advanced/async-tests.md

    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    The file `main.py` would have:
    
    ```Python
    {!../../../docs_src/async_tests/main.py!}
    ```
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    ```Python
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Run it
    
    You can run your tests as usual via:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. .cm/lacks_tests.cm

    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # If a PR contains non-trivial source changes and no tests, add a comment to the PR
      lacks_tests:
        if:
          - {{ ('lacks_tests' | isEnabledAutomation(pr)) }}
          - {{ includes_src_changes }}
          - {{ not (includes_test_changes) }}
          - {{ not (is_docs_only_change) }}
          - {{ not (is_formatting_only_change) }}
        run:
          - action: add-label@v1
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
            assertThat(names, is("a"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig_test.go

    				outputLogLevel: "test:debug",
    			},
    			wantErr: true,
    		},
    		{
    			name: "stackTraceLevelState.run() should throw an error if the /scopej endpoint is missing",
    			state: &stackTraceLevelState{
    				client:          ctrzClientNoScopejHandler,
    				stackTraceLevel: "test:debug",
    			},
    			wantErr: true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. .teamcity/test-buckets.json

    					"enterprise",
    					"execution",
    					"execution-e2e-tests",
    					"file-collections",
    					"file-watching",
    					"ide",
    					"ide-plugins",
    					"integ-test",
    					"internal-integ-testing",
    					"internal-performance-testing",
    					"ivy",
    					"java-platform",
    					"jvm-services",
    					"kotlin-dsl",
    					"kotlin-dsl-integ-tests",
    					"language-java",
    					"language-jvm",
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed May 01 00:36:47 GMT 2024
    - 50.1K bytes
    - Viewed (0)
  6. tests/tests_all.sh

        then
          GORM_DIALECT=${dialect} go test -race -count=1 ./...
          if [ -d tests ]
          then
            cd tests
            GORM_DIALECT=${dialect} go test -race -count=1 ./...
            cd ..
          fi
        else
          GORM_DIALECT=${dialect} go test -race -count=1 -v ./...
          if [ -d tests ]
          then
            cd tests
            GORM_DIALECT=${dialect} go test -race -count=1 -v ./...
            cd ..
          fi
    Shell Script
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/async-tests.md

    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Die Datei `main.py` hätte als Inhalt:
    
    ```Python
    {!../../../docs_src/async_tests/main.py!}
    ```
    
    Die Datei `test_main.py` hätte die Tests für `main.py`, das könnte jetzt so aussehen:
    
    ```Python
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Es ausführen
    
    Sie können Ihre Tests wie gewohnt ausführen mit:
    
    <div class="termy">
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. tests/scopes_test.go

    				).Find(&Language{})
    			},
    			expected: `SELECT * FROM "languages" WHERE d = 4 OR c = 3 OR (a = 1 AND b = 2)`,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			assertEqualSQL(t, test.expected, DB.ToSQL(test.queryFn))
    		})
    	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. istioctl/pkg/util/handlers/handlers_test.go

    	corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	"k8s.io/kubectl/pkg/scheme"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestInferPodInfo(t *testing.T) {
    	tests := []struct {
    		proxyName     string
    		namespace     string
    		wantPodName   string
    		wantNamespace string
    	}{
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    					}
    					if len(f.ops) > 0 {
    						t.Errorf("test %d, expected %d more operations", i, len(f.ops))
    					}
    				case testClose:
    					err := tw.Close()
    					if !equalError(err, tf.wantErr) {
    						t.Fatalf("test %d, Close() = %v, want %v", i, err, tf.wantErr)
    					}
    				default:
    					t.Fatalf("test %d, unknown test operation: %T", i, tf)
    				}
    			}
    
    			if v.file != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top