Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
10346090.291%5.196

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
junitx.ddtunit.util611066.667%0.021
junitx.ddtunit.usecases1000100%0.056
junitx.ddtunit.stubbing4000100%0.068
junitx.ddtunit.data.processing.parser411050%0.055
junitx.ddtunit.data501080%0.449
junitx.ddtunit.data.processing11000100%0.229
junitx.ddtunit.functest4911095.918%3.089
junitx.ddtunit2002090%1.069
junitx.ddtunit.sandbox11000%0.064
junitx.ddtunit.optional.junit42000100%0.096

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

junitx.ddtunit.util

ClassTestsErrors FailuresSkippedSuccess RateTime
ClassAnalyserTest3000100%0.004
DDTConfigurationTest10100%0.002
PrivilegedAccessorTest1000100%0.001
RetrieveResourceFromJarTest11000%0.014

junitx.ddtunit.usecases

ClassTestsErrors FailuresSkippedSuccess RateTime
UserBeanTest1000100%0.056

junitx.ddtunit.stubbing

ClassTestsErrors FailuresSkippedSuccess RateTime
RealVOGeneratorTest1000100%0.062
StubbedVOGeneratorTest3000100%0.006

junitx.ddtunit.data.processing.parser

ClassTestsErrors FailuresSkippedSuccess RateTime
DDTEntityResolverTest2000100%0.003
ParserTest21100%0.052

junitx.ddtunit.data

ClassTestsErrors FailuresSkippedSuccess RateTime
DDTTestDataExceptionTest201050%0.1
ObjectAsserterTest2000100%0.191
VerifyTestOrderExecutionTest1000100%0.158

junitx.ddtunit.data.processing

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentCreatorActionTest2000100%0.005
DateCreatorActionTest2000100%0.018
EngineTest1000100%0.002
ProcessClassGlobalObjectsTest2000100%0.053
SubelementCreatorActionTest1000100%0.004
TypeAbbreviatorTest2000100%0.049
VerifyBeanGetNameBugTest1000100%0.098

junitx.ddtunit.functest

ClassTestsErrors FailuresSkippedSuccess RateTime
CollectionContainerModifierTest1000100%0.346
ProcessArrayDataTest4000100%0.221
ProcessBeansValuesTest4000100%0.166
ProcessCollectionTypeTest8000100%0.278
ProcessComparableDataTest1000100%0.104
ProcessConstantValuesTest4000100%0.162
ProcessConstructorValuesTest4000100%0.14
ProcessDateDataTest2000100%0.148
ProcessExpectedExceptionErrorTest1000100%0.05
ProcessExpectedExceptionTest1000100%0.056
ProcessGenericValuesTest3000100%0.177
ProcessMapTypeTest5000100%0.573
ProcessMethodCallValuesTest1000100%0.081
ProcessObjectReferenceTest3000100%0.286
ProcessSetTypeTest511060%0.219
ProcessStringDataTest2000100%0.082

junitx.ddtunit

ClassTestsErrors FailuresSkippedSuccess RateTime
ActualTest2000100%0.619
DDTExceptionClassTest2000100%0.002
DDTRunMonitorTest3000100%0.198
ExceptionHandlerTest4000100%0.01
ExecutionResultTest302033.333%0.07
SimpleDDTUnitTest3000100%0.054
SpecificationAssertTest1000100%0.029
XmlEntityResourceTest1000100%0.032
XmlEntityTest1000100%0.055

junitx.ddtunit.sandbox

ClassTestsErrors FailuresSkippedSuccess RateTime
ParserTest11000%0.064

junitx.ddtunit.optional.junit4

ClassTestsErrors FailuresSkippedSuccess RateTime
DDTJUnit4ClassRunnerTest2000100%0.096

Test Cases

[Summary] [Package List] [Test Cases]

ActualTest

testMapMethod0.281
testCollectionMethod0.002

DDTTestDataExceptionTest

testRetrievalOfEmptyClusterDataSet0.026
testParsingErrorBehavior0.071
Wrong message of caught exception expected:<No testdata provided for class id 'DbRepositoryAccessTest' in testresource '/junitx/ddtunit/data/DDT-DefectXMLTest.xml' Check if referred class id in xml resources matches definition of initTestData(resource, classId) inside of your testclass...> but was:<Error during parsing of xml testresource Resource 'file:/Users/jgellien/workspace/ddtunit/target/test-classes/junitx/ddtunit/data/DDT-DefectXMLTest.xml' line/column 16/75 Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'wrong' is not allowed to appear in element 'obj'...>

ObjectAsserterTest

testIsContainedIn0.164
testIsInRange0.005

ContentCreatorActionTest

testSingleContentForSubelement0.001
testMultipleContentActionProcessing0.001

DateCreatorActionTest

testShortFormat0.004
testspecialFormat0.013

EngineTest

testObjectProcessing0

DDTEntityResolverTest

testSystemIdMapping0.001
testDDTSystemIdMapping0.001

ParserTest

testParseElementFromStringBufferAutoHeader0.027
testParseElementFromStringBufferPredefinedHeader0.023
Generated object should not be null

ProcessClassGlobalObjectsTest

testDirectReadOnScope0.048
testLocalGlobalScopeAccess0.002

SubelementCreatorActionTest

testActionSubelementCreator0.002

TypeAbbreviatorTest

testResolve0.043
testToString0.001

VerifyBeanGetNameBugTest

testGetNameBeanCreation0.097

VerifyTestOrderExecutionTest

testMethodTestOrder0.155

DDTExceptionClassTest

testCreateSingleException0
testCreateDoubleException0.001

DDTRunMonitorTest

testRunStandardTestCase0.013
testRunDDTTestCase0.174
testGetInstance0

ExceptionHandlerTest

testProcessUnknownException0.001
testProcessInvocationTargetExNoAsserts0.001
testProcessExpectedException0
testCheckOnExpectedException0.001

ExecutionResultTest

testRunThreeMethodTestsNoProblem0.048
testRunThreeMethodTestsOneAssertFailedException0.012
Wrong exepction message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [ Assert(result):]Wrong isEqual assert...>
testRunThreeMethodTestsOneAssertFailedOneException0.007
Wrong exception message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [ Assert(result):]Wrong isEqual assert...>

CollectionContainerModifierTest

testContainer0.344

ProcessArrayDataTest

testArrayObjectType0.202
testSpecialCaseArrayObjectType0.002
testArrayOfCollections0.002
testArrayOfBeanObjects0.002

ProcessBeansValuesTest

testReadBeanField0.148
testReadSimpleVO0.008
testNestedComplexFields0.002
testPrimitiveFields0.001

ProcessCollectionTypeTest

testReadVector0.258
testReadNullVector0.001
testReadNestedCollection0.002
testReadNestedMixedType0.001
testArrayFromCollection0.002
testDoubleNestedCollectionInAssert0.001
testIdentifyCollection0.001
testNestedVoWithCollection0.001

ProcessComparableDataTest

testComparableType0.103

ProcessConstantValuesTest

testConstantsAsObjectsAndFields0.132
testConstantsAsContainerEntries0.013
testJDK5Enumerator0.002
testEnumerationElement0.002

ProcessConstructorValuesTest

testReadConstructor0.121
testGenericWithComplexField0.007
testCollectionWithConstructorElements0.002
testComplexWithConstructorCollectionArg0.001

ProcessDateDataTest

testDateType0.137
testSpecificDateType0.004

ProcessExpectedExceptionErrorTest

testDefinedbutNotRaisedException0.04

ProcessExpectedExceptionTest

testProcessExpectedException0.054

ProcessGenericValuesTest

testReadSimpleVO0.159
testNestedComplexFields0.001
testPrimitiveFields0.002

ProcessMapTypeTest

testReadMap0.517
testReadSpecialMap0.001
testReadMapAsField0.001
testReadMapAsCollectionMember0.045
testArrayFromMap0.003

ProcessMethodCallValuesTest

testCreateFromMethodCall0.08

ProcessObjectReferenceTest

testOneObjectReference0.259
testReferenceTransitivity0.004
testReferenceOnSubelement0.003

ProcessSetTypeTest

testReadNestedMixedType0.189
method testReadNestedMixedType - Total: 2, Errors: 1, Failures: 1 E-(myFirstShorthandVectorMultiType) java.lang.Integer cannot be cast to java.util.Collection F-(myFirstShorthandVectorSingleTypeExtraShort) Assert(secondEntry):Wrong isEqual assert on (multiline) string [position 0] expected:<1.2> but was:<2.2> Assert(firstEntry):Wrong isEqual assert on (multiline) string [position 0] expected:<1.1> but was:<2.1>
testReadSet0.009
testReadNullSet0.001
testReadNestedSet0.002
testArrayFromSet0.007
method testArrayFromSet - Total: 2, Errors: 0, Failures: 2 F-(readArrayFromSet) Assert(result):[array length] expected:<2> but was:<3> F-(readArrayFromSetShortcut) Assert(result):Wrong isEqual assert (result) on arrays [array length] expected:<2> but was:<3>

ProcessStringDataTest

testStringType0.078
testStringTypeByLength0.001

DDTJUnit4ClassRunnerTest

simpleJUnitAssert0.032
retrieveObjectData0.006

ParserTest

testParseElementWithBaseObject0.063
Error during parsing of xml testresource Resource 'null' line/column 1/94 Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'baseid' is not allowed to appear in element 'obj'.

SimpleDDTUnitTest

testSimpleJUnitAssert0.049
testRetrieveObjectData0.001
testRetrieveAssertData0.001

SpecificationAssertTest

testMethod0.027

RealVOGeneratorTest

testGenerateComplexVO0.058

StubbedVOGeneratorTest

testGenerateComplexVO_use_default_constructor0.004
testGenerateComplexVO_use_constructor0
testGenerateComplexVO_missing_data0.001

UserBeanTest

testCreateUser0.055

ClassAnalyserTest

testGetSuperElements0
testFindInheritedMethod0
testGetPrimitiveClazz0.003

DDTConfigurationTest

testLoadString0
Expected deactivated Monitor

PrivilegedAccessorTest

testSetFieldValue0

RetrieveResourceFromJarTest

testReadResourceFromJar0.014

XmlEntityResourceTest

testReadExternalEntityParam0.031

XmlEntityTest

testReadExternalEntityParam0.052

Failure Details

[Summary] [Package List] [Test Cases]


testParsingErrorBehavior
junitx.framework.ComparisonFailure: Wrong message of caught exception expected:<No testdata provided for class id 'DbRepositoryAccessTest' in testresource '/junitx/ddtunit/data/DDT-DefectXMLTest.xml' Check if referred class id in xml resources matches definition of initTestData(resource, classId) inside of your testclass...> but was:<Error during parsing of xml testresource Resource 'file:/Users/jgellien/workspace/ddtunit/target/test-classes/junitx/ddtunit/data/DDT-DefectXMLTest.xml' line/column 16/75 Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'wrong' is not allowed to appear in element 'obj'...>
testParseElementFromStringBufferAutoHeader
java.lang.NullPointerException
testParseElementFromStringBufferPredefinedHeader
junit.framework.AssertionFailedError: Generated object should not be null
testRunThreeMethodTestsOneAssertFailedException
junit.framework.ComparisonFailure: Wrong exepction message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [ Assert(result):]Wrong isEqual assert...>
testRunThreeMethodTestsOneAssertFailedOneException
junit.framework.ComparisonFailure: Wrong exception message in JUnit failure expected:<...my-second-testcase) []Wrong isEqual assert...> but was:<...my-second-testcase) [ Assert(result):]Wrong isEqual assert...>
testReadNestedMixedType
junitx.ddtunit.DDTException: method testReadNestedMixedType - Total: 2, Errors: 1, Failures: 1 E-(myFirstShorthandVectorMultiType) java.lang.Integer cannot be cast to java.util.Collection F-(myFirstShorthandVectorSingleTypeExtraShort) Assert(secondEntry):Wrong isEqual assert on (multiline) string [position 0] expected:<1.2> but was:<2.2> Assert(firstEntry):Wrong isEqual assert on (multiline) string [position 0] expected:<1.1> but was:<2.1>
testArrayFromSet
junit.framework.AssertionFailedError: method testArrayFromSet - Total: 2, Errors: 0, Failures: 2 F-(readArrayFromSet) Assert(result):[array length] expected:<2> but was:<3> F-(readArrayFromSetShortcut) Assert(result):Wrong isEqual assert (result) on arrays [array length] expected:<2> but was:<3>
testParseElementWithBaseObject
junitx.ddtunit.DDTException: Error during parsing of xml testresource Resource 'null' line/column 1/94 Caused by:org.xml.sax.SAXParseException - cvc-complex-type.3.2.2: Attribute 'baseid' is not allowed to appear in element 'obj'.
testLoadString
junit.framework.AssertionFailedError: Expected deactivated Monitor
testReadResourceFromJar
java.lang.NullPointerException