Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ExcludedTest (0.63 sec)

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

    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    import org.junit.Test;
    import org.junit.experimental.categories.Category;
    
    @Category(Exclude.class)
    public class ExcludedTest {
        @Test
        public void testOK() {
        }
    }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/AbstractTestFrameworkOptionsIntegrationTest.groovy

            result.assertTestClassesNotExecuted("com.example.ExcludedTest")
        }
    
        void assertIntegrationTestsWereExecutedAndExcluded() {
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory, 'build', '', '', 'integrationTest')
            result.assertTestClassesExecuted("com.example.IncludedTest")
            result.assertTestClassesNotExecuted("com.example.ExcludedTest")
        }
    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/JUnitJupiterOptionsIntegrationTest.groovy

    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.Tag;
    
    @Tag("exclude")
    public class ExcludedTest {
        @Test
        public void testOK() {
        }
    }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/TestNGOptionsIntegrationTest.groovy

    import org.testng.annotations.Test;
    
    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    
    import org.testng.annotations.Test;
    
    public class ExcludedTest {
        @Test(groups = { "exclude" })
        public void testOK() {
        }
    }
    """
        }
    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