Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for excludeCategoryOrTag (0.34 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitCategoriesOrTagsCoverageIntegrationSpec.groovy

                    ${configureTestFramework} {
                        ${includeCategoryOrTag('CategoryA')}
                        ${includeCategoryOrTag('CategoryC')}
                        ${excludeCategoryOrTag('CategoryA')}
                        ${excludeCategoryOrTag('CategoryC')}
                    }
                }
            """
    
            when:
            run('test')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 14:54:49 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/AbstractTestingMultiVersionIntegrationTest.groovy

        }
    
        String includeCategoryOrTag(String categoryOrTag) {
            return "${buildScriptConfiguration.includeCategoryOrTagConfigurationElement} '${categoryOrTag}'"
        }
    
        String excludeCategoryOrTag(String categoryOrTag) {
            return "${buildScriptConfiguration.excludeCategoryOrTagConfigurationElement} '${categoryOrTag}'"
        }
    
        String getTestFrameworkImports() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            buildFile << """
                test {
                    ${configureTestFramework} {
                        ${includeCategoryOrTag('CategoryA')}
                        ${excludeCategoryOrTag('CategoryC')}
                    }
                }
            """
    
            when:
            run('test')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                apply plugin: "java"
    
                ${mavenCentralRepository()}
                dependencies {
                    ${testFrameworkDependencies}
                }
                test.${configureTestFramework} { ${excludeCategoryOrTag('org.gradle.CategoryA')} }
            """.stripIndent()
    
            when:
            succeeds("test")
    
            then:
            executedAndNotSkipped(":test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy

            settingsFile << "rootProject.name = 'Sample'"
            buildFile << """
                test {
                    options {
                        ${excludeCategoryOrTag("MyTest\$Slow")}
                    }
                }
    
                tasks.register('verifyTestOptions') {
                    def categoryOrTagExcludes = provider {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top