Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertIntegrationTestsWereExecutedAndExcluded (0.41 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitJupiterOptionsIntegrationTest.groovy

                        }
                    }
                }
            """
            writeSources(file("src/integrationTest/java"))
    
            when:
            succeeds("check")
            then:
            assertIntegrationTestsWereExecutedAndExcluded()
        }
    
        def "options for test framework are respected for JUnitJupiter for custom test suite without explicit configuration"() {
            buildFile << """
                testing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/AbstractTestFrameworkOptionsIntegrationTest.groovy

            result.assertTestClassesExecuted("com.example.IncludedTest")
            result.assertTestClassesNotExecuted("com.example.ExcludedTest")
        }
    
        void assertIntegrationTestsWereExecutedAndExcluded() {
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory, 'build', '', '', 'integrationTest')
            result.assertTestClassesExecuted("com.example.IncludedTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitOptionsIntegrationTest.groovy

                        }
                    }
                }
            """
            writeSources(file("src/integrationTest/java"))
    
            when:
            succeeds("check")
            then:
            assertIntegrationTestsWereExecutedAndExcluded()
        }
    
        @Override
        void writeSources(TestFile sourcePath) {
            sourcePath.file("com/example/Exclude.java") << """
    package com.example;
    
    public interface Exclude {
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/TestNGOptionsIntegrationTest.groovy

                        }
                    }
                }
            """
            writeSources(file("src/integrationTest/java"))
    
            when:
            succeeds("check")
            then:
            assertIntegrationTestsWereExecutedAndExcluded()
        }
    
        @Override
        void writeSources(TestFile sourcePath) {
            sourcePath.file("com/example/IncludedTest.java") << """
    package com.example;
    
    import org.testng.annotations.Test;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top