Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 189 for unit_test (0.16 sec)

  1. .github/workflows/extract-unit-test-split.jq

    .
     | map(select(.unitTests) | .name)
     | to_entries
     | group_by(.key % 10)
     | map({
         name: map(.value) | join(", "),
         tasks: map(.value + ":test") | join(" "),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 11 08:08:26 UTC 2021
    - 171 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/testing/testng-groups/groovy/build.gradle

    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.3.1'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            excludeGroups 'integrationTests'
            includeGroups 'unitTests'
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 281 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/native/cpp_testing.adoc

    When you’re using the <<cpp_unit_test_plugin.adoc#cpp_unit_test_plugin,{cpp} Unit Test Plugin>> you will automatically get the following:
    
     * A dedicated link:{groovyDslPath}/org.gradle.nativeplatform.test.cpp.CppTestSuite.html[unitTest] extension for configuring test component and its variants
     * A `run` task of type link:{groovyDslPath}/org.gradle.nativeplatform.test.tasks.RunTestExecutable.html[RunTestExecutable] that runs the test executable
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/AbstractCppUnitTestIntegrationTest.groovy

        @Override
        String getLanguageTaskSuffix() {
            return "Cpp"
        }
    
        @Override
        protected String getTestComponentDsl() {
            return "unitTest"
        }
    
        @Override
        String[] getTasksToBuildAndRunUnitTest() {
            return getTasksToBuildAndRunUnitTest(null)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/AbstractCppUnitTestComponentIntegrationTest.groovy

            and:
            outputContains("'${componentName}' component in project ':' does not target this operating system.")
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return 'unitTest'
        }
    
        @Override
        protected String getTaskNameToAssembleDevelopmentBinary() {
            return 'test'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testing/testng-groups/kotlin/build.gradle.kts

    }
    
    // tag::test-config[]
    tasks.named<Test>("test") {
        useTestNG {
            val options = this as TestNGOptions
            options.excludeGroups("integrationTests")
            options.includeGroups("unitTests")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 360 bytes
    - Viewed (0)
  7. samples/bookinfo/src/productpage/Dockerfile

    COPY static /opt/microservices/static
    COPY requirements.txt /opt/microservices/
    
    ARG flood_factor
    ENV FLOOD_FACTOR ${flood_factor:-0}
    
    EXPOSE 9080
    WORKDIR /opt/microservices
    RUN python -m unittest discover
    
    CMD ["gunicorn", "-b", "[::]:9080", "productpage:app", "-w", "8", "--keep-alive", "2", "-k", "gevent"]
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestDependenciesIntegrationTest.groovy

    """
            file("lib/src/main/cpp/lib.cpp") << """
                #include <lib.h>
                void lib_func() { }
    """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "unitTest"
        }
    
        @Override
        protected String getAssembleDevBinaryTask() {
            return ":installTest"
        }
    
        @Override
        protected List<String> getAssembleDevBinaryTasks() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/testing/testng-groups/groovy/src/test/java/org/gradle/testng/SimpleUnitTest.java

    import org.testng.annotations.BeforeMethod;
    import org.testng.annotations.Test;
    import org.testng.annotations.AfterMethod;
    import static org.testng.Assert.*;
    
    public class SimpleUnitTest{
        @Test(groups = { "unitTests" })
        public void simpleUnitTest(){
            assertEquals(true, true);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 328 bytes
    - Viewed (0)
  10. src/internal/syscall/unix/siginfo_linux_test.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unix_test
    
    import (
    	"internal/goarch"
    	"internal/syscall/unix"
    	"runtime"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // TestSiginfoChildLayout validates SiginfoChild layout. Modelled after
    // static assertions in linux kernel's arch/*/kernel/signal*.c.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top