- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for assertTestCount (0.22 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/DefaultTestExecutionResult.groovy
testClassResults*.assertTestsExecuted(testCases) this } TestClassExecutionResult assertTestCount(int tests, int failures, int errors) { testClassResults*.assertTestCount(tests, failures, errors) this } int getTestCount() { List<Integer> counts = testClassResults*.testCount
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy
then: def result = new DefaultTestExecutionResult(testDirectory) result.assertTestClassesExecuted('org.gradle.factory.FactoryTest') result.testClass('org.gradle.factory.FactoryTest').assertTestCount(2, 0, 0) result.testClass('org.gradle.factory.FactoryTest').assertStdout(containsString('TestingFirst')) result.testClass('org.gradle.factory.FactoryTest').assertStdout(containsString('TestingSecond'))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 15.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy
} TestClassExecutionResult assertTestCount(int tests, int failures, int errors) { assert testClassNode.@tests == tests assert testClassNode.@failures == failures assert testClassNode.@errors == errors this } TestClassExecutionResult assertTestCount(int tests, int skipped, int failures, int errors) { assert testClassNode.@tests == tests
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy
when: def xml = getXml(result, options) then: new JUnitTestClassExecutionResult(xml, "com.foo.FooTest", "com.foo.FooTest", TestResultOutputAssociation.WITH_SUITE) .assertTestCount(4, 1, 1, 0) .assertTestFailed("some failing test", equalTo('failure message')) .assertTestsSkipped("some skipped test") .assertTestsExecuted("some test", "some test two", "some failing test")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:05 UTC 2024 - 15.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy
assert executedAndNotSkipped.containsAll(testCases) assert executedAndNotSkipped.size() == testCases.size() return this } TestClassExecutionResult assertTestCount(int tests, int failures, int errors) { assert tests == testsExecuted.size() assert failures == testsFailures.size() return this } int getTestCount() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy
then: failureCauseContains("There were failing tests") DefaultTestExecutionResult testResult = new DefaultTestExecutionResult(testDirectory) assertFailedToExecute(testResult, 'com.example.Foo').assertTestCount(1, 1, 0) } @Issue("https://issues.gradle.org/browse/GRADLE-1948") def "test interrupting its own thread does not kill test execution"() { given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 19.6K bytes - Viewed (0)