- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 42 for someTest (0.12 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestFrameworkIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestFrameworkIntegrationTest.groovy
void createPassingFailingTest() { file('src/main/java/AppException.java').writelns( "public class AppException extends Exception { }" ) file('src/test/java/SomeTest.java') << """ public class SomeTest { @org.junit.jupiter.api.Test public void ${failingTestCaseName} { System.err.println("some error output");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskFailOnNoTestIntegrationTest.groovy
class TestTaskFailOnNoTestIntegrationTest extends AbstractIntegrationSpec { def "test succeeds if a test was executed"() { createBuildFileWithJUnitJupiter() file("src/test/java/SomeTest.java") << """ public class SomeTest { @org.junit.jupiter.api.Test public void foo() { } } """ expect: succeeds("test") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestReportIntegrationTest.groovy
given: buildScript """ $junitSetup test { reports.all { it.required = true } } """ and: failingTestClass "SomeTest" when: fails "test" then: executedAndNotSkipped(":test") failure.assertHasCause("There were failing tests. See the report at: ") when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailurePolicyIntegrationTest.groovy
def "skips tests after a config method failure by default"() { expect: fails "test" and: testResults.assertConfigMethodFailed("fail") testResults.assertTestSkipped("someTest") } def "can be configured to continue executing tests after a config method failure"() { when: assumeTrue(supportConfigFailurePolicy()) buildFile << """ testing {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestFrameworkIntegrationTest.groovy
} @Override void createPassingFailingTest() { file('src/test/java/AppException.java') << 'public class AppException extends Exception {}' file('src/test/java/SomeTest.java') << """ public class SomeTest { @org.testng.annotations.Test public void ${failingTestCaseName}() { System.err.println("some error output");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/testng/TestNGFailurePolicyIntegrationTest/shared/src/test/java/org/gradle/failurepolicy/TestWithFailureInConfigMethod.java
public class TestWithFailureInConfigMethod { @BeforeTest public void fail() { throw new RuntimeException("Failure in @BeforeTest"); } @Test public void someTest() {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 929 bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionResultEvaluatorTest.groovy
def testDescriptorInternal = Mock(TestDescriptorInternal) testDescriptorInternal.getName() >> "someTest" testDescriptorInternal.getClassName() >> "acme.SomeTestClass" def testResult = Mock(TestResult) 1 * testResult.getTestCount() >> 1 1 * testResult.getFailedTestCount() >> 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JavaProjectUnderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 9.7K bytes - Viewed (0)