Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for init_test (0.15 sec)

  1. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-test-aggregation-standalone/kotlin/test-results/build.gradle.kts

    }
    
    // tag::create_report[]
    reporting {
        reports {
            val testAggregateTestReport by creating(AggregateTestReport::class) { // <.>
                testType = TestSuiteType.UNIT_TEST
            }
        }
    }
    // end::create_report[]
    
    tasks.check {
        dependsOn(tasks.named<TestReport>("testAggregateTestReport")) // <.>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 446 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-code-coverage-standalone/groovy/code-coverage-report/build.gradle

    dependencies {
        jacocoAggregation project(':application') // <.>
    }
    
    // tag::create_report[]
    reporting {
        reports {
            testCodeCoverageReport(JacocoCoverageReport) { // <.>
                testType = TestSuiteType.UNIT_TEST
            }
        }
    }
    // end::create_report[]
    
    tasks.named('check') {
        dependsOn tasks.named('testCodeCoverageReport', JacocoReport) // <.>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 470 bytes
    - Viewed (0)
  3. hack/boilerplate/boilerplate_test.py

    # limitations under the License.
    
    import os
    import sys
    import unittest
    
    from io import StringIO
    
    import boilerplate
    
    class TestBoilerplate(unittest.TestCase):
        """
        Note: run this test from the hack/boilerplate directory.
    
        $ python -m unittest boilerplate_test
        """
    
        def test_boilerplate(self):
            os.chdir("test/")
    
            class Args:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 09:05:26 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

                }
    
                reporting {
                    reports {
                        testCodeCoverageReport(JacocoCoverageReport) {
                            testType = TestSuiteType.UNIT_TEST
                        }
                    }
                }
            """
    
            when:
            succeeds(":testCodeCoverageReport")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  5. samples/bookinfo/src/productpage/tests/unit/test_productpage.py

    #   limitations under the License.
    #
    # Run from the top level productpage directory with:
    #
    # pip install -r test-requirements.txt
    # python -m unittest discover tests/unit
    
    import unittest
    
    import requests_mock
    
    import productpage
    
    
    class ApplianceTest(unittest.TestCase):
    
        def setUp(self):
            self.app = productpage.app.test_client()
    
        @requests_mock.Mocker()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/ide/ideaAdditionalTestSources/groovy/build.gradle

    plugins {
        id 'idea'
        id 'java-library'
    }
    
    // tag::mark-additional-sourcesets-as-test[]
    sourceSets {
        intTest {
            java {
                srcDirs = ['src/integration']
            }
        }
    }
    
    idea {
        module {
            testSources.from(sourceSets.intTest.java.srcDirs)
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 328 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/java/basic/kotlin/build.gradle.kts

    // tag::integ-test-task[]
    val integrationTest = task<Test>("integrationTest") {
        description = "Runs integration tests."
        group = "verification"
    
        testClassesDirs = sourceSets["intTest"].output.classesDirs
        classpath = sourceSets["intTest"].runtimeClasspath
        shouldRunAfter("test")
    
        useJUnitPlatform()
    
        testLogging {
            events("passed")
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. ci/official/wheel_test/test_import_api_packages.py

    TensorFlow API v2 init files and is stored in the wheel file after the build.
    
    See README.md file for "how to run" instruction.
    """
    
    import logging
    import unittest
    import pkg_resources
    
    logging.basicConfig(level=logging.INFO)
    
    
    class ImportApiPackagesTest(unittest.TestCase):
      """ImportApiPackagesTest class. See description at the top of the file."""
    
      def setUp(self):
        def _get_api_packages_v2():
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 13 15:52:07 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java/basic/groovy/build.gradle

    // tag::integ-test-task[]
    tasks.register('integrationTest', Test) {
        description = 'Runs integration tests.'
        group = 'verification'
    
        testClassesDirs = sourceSets.intTest.output.classesDirs
        classpath = sourceSets.intTest.runtimeClasspath
        shouldRunAfter test
    
        useJUnitPlatform()
    
        testLogging {
            events "passed"
        }
    }
    
    check.dependsOn integrationTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/PBXTarget.java

            FRAMEWORK("com.apple.product-type.framework"),
            STATIC_FRAMEWORK("com.apple.product-type.framework.static"),
            APPLICATION("com.apple.product-type.application"),
            UNIT_TEST("com.apple.product-type.bundle.unit-test"),
            IN_APP_PURCHASE_CONTENT("com.apple.product-type.in-app-purchase-content"),
            APP_EXTENSION("com.apple.product-type.app-extension"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top