Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
217 0 0 0 100% 32.072

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
uk.co.jemos.podam.test.unit.features.edgeCases 12 0 0 0 100% 1.713
uk.co.jemos.podam.test.unit.features.basicTypes 24 0 0 0 100% 4.654
uk.co.jemos.podam.test.unit.pdm43 1 0 0 0 100% 0
uk.co.jemos.podam.test.unit.features.singletons 1 0 0 0 100% 0.132
uk.co.jemos.podam.test.unit.issue86 2 0 0 0 100% 0
uk.co.jemos.podam.test.unit.pdm45 9 0 0 0 100% 0.334
uk.co.jemos.podam.test.integration 1 0 0 0 100% 0.727
uk.co.jemos.podam.test.unit.features.memoization 7 0 0 0 100% 0.8
uk.co.jemos.podam.test.unit.features.collections 11 0 0 0 100% 1.208
uk.co.jemos.podam.test.unit.features.constructors 30 0 0 0 100% 3.805
uk.co.jemos.podam.test.unit.features.externalFactory 7 0 0 0 100% 0.955
uk.co.jemos.podam.test.unit.features.typeManufacturing 18 0 0 0 100% 2.135
uk.co.jemos.podam.test.unit.features.validatorFramework 6 0 0 0 100% 1.02
uk.co.jemos.podam.test.unit.features.classInfo 6 0 0 0 100% 0
uk.co.jemos.podam.test.unit.issue93 1 0 0 0 100% 5.118
uk.co.jemos.podam.test.unit.pdm3 18 0 0 0 100% 0.016
uk.co.jemos.podam.test.unit.features.inheritance 7 0 0 0 100% 0.878
uk.co.jemos.podam.test.unit.features.annotations 25 0 0 0 100% 5.595
uk.co.jemos.podam.test.unit.pdm4 6 0 0 0 100% 0.168
uk.co.jemos.podam.test.unit.pdm5 1 0 0 0 100% 0
uk.co.jemos.podam.test.unit.features.dataProviderStrategy 7 0 0 0 100% 0.84
uk.co.jemos.podam.test.unit.features.xmlTypes 3 0 0 0 100% 0.362
uk.co.jemos.podam.test.unit.features.randomness 1 0 0 0 100% 0.155
uk.co.jemos.podam.test.unit.features.walkThroughExample 7 0 0 0 100% 0.87
uk.co.jemos.podam.test.unit.features.extensions 5 0 0 0 100% 0.452
uk.co.jemos.podam.test.unit.features.factories 1 0 0 0 100% 0.135

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

uk.co.jemos.podam.test.unit.features.edgeCases

Class Tests Errors Failures Skipped Success Rate Time
AbnormalPojosTest 12 0 0 0 100% 1.713

uk.co.jemos.podam.test.unit.features.basicTypes

Class Tests Errors Failures Skipped Success Rate Time
BooleanUnitTest 1 0 0 0 100% 0.188
ClassUnitTest 3 0 0 0 100% 0.376
PodamFactoryBasicTypesTest 20 0 0 0 100% 4.09

uk.co.jemos.podam.test.unit.pdm43

Class Tests Errors Failures Skipped Success Rate Time
Pdm43UnitTest 1 0 0 0 100% 0

uk.co.jemos.podam.test.unit.features.singletons

Class Tests Errors Failures Skipped Success Rate Time
SingletonsTest 1 0 0 0 100% 0.132

uk.co.jemos.podam.test.unit.issue86

Class Tests Errors Failures Skipped Success Rate Time
ExtraMethodsUnitTest 1 0 0 0 100% 0
MyInitPojoUnitTest 1 0 0 0 100% 0

uk.co.jemos.podam.test.unit.pdm45

Class Tests Errors Failures Skipped Success Rate Time
Pdm45UnitTest 9 0 0 0 100% 0.334

uk.co.jemos.podam.test.integration

Class Tests Errors Failures Skipped Success Rate Time
PodamFactoryInjectionIntegrationTest 1 0 0 0 100% 0.727

uk.co.jemos.podam.test.unit.features.memoization

Class Tests Errors Failures Skipped Success Rate Time
MemoizationTest 7 0 0 0 100% 0.8

uk.co.jemos.podam.test.unit.features.collections

Class Tests Errors Failures Skipped Success Rate Time
CollectionsTest 11 0 0 0 100% 1.208

uk.co.jemos.podam.test.unit.features.constructors

Class Tests Errors Failures Skipped Success Rate Time
ConstructorsUnitTest 26 0 0 0 100% 3.289
ReadOnlyComplexTypesTest 4 0 0 0 100% 0.516

uk.co.jemos.podam.test.unit.features.externalFactory

Class Tests Errors Failures Skipped Success Rate Time
ExternalFactoryUnitTest 7 0 0 0 100% 0.955

uk.co.jemos.podam.test.unit.features.typeManufacturing

Class Tests Errors Failures Skipped Success Rate Time
TypeManufacturingTest 18 0 0 0 100% 2.135

uk.co.jemos.podam.test.unit.features.validatorFramework

Class Tests Errors Failures Skipped Success Rate Time
ValidatedPojoTest 6 0 0 0 100% 1.02

uk.co.jemos.podam.test.unit.features.classInfo

Class Tests Errors Failures Skipped Success Rate Time
ClassInfoTest 6 0 0 0 100% 0

uk.co.jemos.podam.test.unit.issue93

Class Tests Errors Failures Skipped Success Rate Time
Issue93UnitTest 1 0 0 0 100% 5.118

uk.co.jemos.podam.test.unit.pdm3

Class Tests Errors Failures Skipped Success Rate Time
Pdm3PojoUnitTest 18 0 0 0 100% 0.016

uk.co.jemos.podam.test.unit.features.inheritance

Class Tests Errors Failures Skipped Success Rate Time
InheritanceTest 4 0 0 0 100% 0.505
MultipleInterfacesInheritanceTest 3 0 0 0 100% 0.373

uk.co.jemos.podam.test.unit.features.annotations

Class Tests Errors Failures Skipped Success Rate Time
AnnotationsExceptionsTest 7 0 0 0 100% 0.008
AnnotationsTest 18 0 0 0 100% 5.587

uk.co.jemos.podam.test.unit.pdm4

Class Tests Errors Failures Skipped Success Rate Time
InstantiationUnitTest 6 0 0 0 100% 0.168

uk.co.jemos.podam.test.unit.pdm5

Class Tests Errors Failures Skipped Success Rate Time
InvisibleConstructorAndNoSettersTest 1 0 0 0 100% 0

uk.co.jemos.podam.test.unit.features.dataProviderStrategy

Class Tests Errors Failures Skipped Success Rate Time
RandomDataProviderStrategyImplInitialisationUnitTest 7 0 0 0 100% 0.84

uk.co.jemos.podam.test.unit.features.xmlTypes

Class Tests Errors Failures Skipped Success Rate Time
XMLDatatypeUnitTest 3 0 0 0 100% 0.362

uk.co.jemos.podam.test.unit.features.randomness

Class Tests Errors Failures Skipped Success Rate Time
RandomnessTest 1 0 0 0 100% 0.155

uk.co.jemos.podam.test.unit.features.walkThroughExample

Class Tests Errors Failures Skipped Success Rate Time
WalkThroughExampleUnitTest 7 0 0 0 100% 0.87

uk.co.jemos.podam.test.unit.features.extensions

Class Tests Errors Failures Skipped Success Rate Time
ExtensionsTest 4 0 0 0 100% 0.297
NonEJBPojoTest 1 0 0 0 100% 0.155

uk.co.jemos.podam.test.unit.features.factories

Class Tests Errors Failures Skipped Success Rate Time
FactoryUnitTest 1 0 0 0 100% 0.135

Test Cases

[Summary] [Package List] [Test Cases]

PodamFactoryInjectionIntegrationTest

testSimplePojo 0.015

AnnotationsExceptionsTest

podamShouldThrowExceptionWhenPodamIntegerValueContainsInvalidCharacters 0
podamShouldThrowExceptionWhenPodamByteValueContainsInvalidCharacters 0
podamShouldThrowExceptionWhenPodamDoubleValueContainsInvalidCharacters 0
podamShouldThrowExceptionWhenPodamFloatValueContainsInvalidCharacters 0
podamShouldThrowExceptionWhenPodamStrategyValueContainsInvalidStrategy 0.004
podamShouldThrowExceptionWhenPodamShortValueContainsInvalidCharacters 0
podamShouldThrowExceptionWhenPodamLongValueContainsInvalidCharacters 0.004

AnnotationsTest

podamShouldNotFillFieldsAnnotatedWithExcludeAnnotation 0.795
podamShouldHandleIntegerValues 0.178
podamShouldHandleBooleanValuesWithThePodamBooleanValueAnnotation 0.132
podamShouldHandlePojosWithAnnotatedFieldsUsingHibernateConstraintsAnnotations 0.154
podamShouldHandleByteValuesWithThePodamByteValueAnnotation 0.124
podamShouldHandleCharValuesWithThePodamCharValueAnnotation 0.112
podamShouldHandleDoubleValuesWithThePodamDoubleValueAnnotation 0.122
podamShouldAssignExactValuesDefinedInPodamStrategyValueAnnotation 0.196
podamShouldHandleImmutablePojosAnnotatedWithPodamConstructor 0.158
podamShouldHandlePojosWithAnnotatedFieldAndSetter 0.108
podamShouldHandleFloatValuesWithThePodamFloatValueAnnotation 0.114
podamShouldHandlePojosWithAnnotatedFieldsAndCustomGenericAnnotationStrategy 0.118
podamShouldHandleConstructorsWithOneOrMoreSelfReferences 0.238
podamShouldHandleLongValues 0.032
podamShouldHandleShortValuesWithThePodamShortValueAnnotation 0.13
thePodamCollectionAnnotationShouldWorkOnAllCollections 0.112
podamShouldAssignExactValuesDefinedInEmailAnnotation 0.108
podamShouldAssignPreciseValuesWithTheStringValueAnnotation 0.124

BooleanUnitTest

podamShouldHandleBooleansCorrect 0.168

ClassUnitTest

podamShouldHandleTheManufacturingOfPojosWithGenericTypesInTheConstructor 0.138
podamShouldHandleTheManufacturingOfBasicTypes 0.114
podamShouldHandleTheManufacturingOfGenericPojos 0.11

PodamFactoryBasicTypesTest

podamShouldFillCharSequenceType 0.126
podamShouldSupportCircularDependenciesCustomDepth 0.142
podamShouldHandleImmutableNonAnnotatedPojos 0.152
podamShouldFillJavaNativeTypes 0.12
podamShouldFillPojoWithEnums 0.122
podamShouldSupportRecursiveMaps 1.488
invokingPodamOnAnInterfaceShouldReturnAnEmptyPojo 0.012
podamShouldGenerateBasicTypes 0
podamShouldIgnoreWildcardEnumFields 0
invokingPodamOnAbstractClassShouldReturnANullPojo 0.01
podamShouldFillRecursivePojosWithLists 0.425
podamShouldFillRecursivePojosWhenInvokingPopulationDirectly 0.01
podamShouldFillArraysWithElements 0
podamShouldFillRecursivePojos 0.012
podamShouldFillArrays 0
podamShouldFillPojosWithNonDefaultConstructor 0
podamShouldSupportRecursiveLists 1.463
podamShouldSupportCircularDependencies 0.008
podamShouldFillJavaStringType 0
podamShouldFillJavaStringTypeWithFullConstructor 0

ClassInfoTest

podamShouldReturnAValidClassInfoForPojoWithNoAttributes 0
podamShouldReturnAClassInfoObjectWithNonStandardAttributesWithCustomStrategy 0
inPresenceOfExcludeAnnotationsTheClassInfoObjectShouldContainAValidSetOfPojoAttributes 0
podamShouldReturnAClassInfoObjectWithSingleLetterAndNumberAtrributes 0
inPresenceOfExcludedAttributesTheClassInfoObjectShouldNotContainThoseAttributes 0
podamShouldReturnAClassInfoObjectWhichContainsTheSameAttributesAsThePojoBeingProcessed 0

CollectionsTest

podamShouldBeAbleToFillInPojosWithRawTypeCollectionAttributesAndDefaultValueToObject 0.008
testSortedMapCreation 0.063
podamShouldHandleStandardCollections 0.028
podamShouldHandlePojosWithNoSettersAndCollectionsInTheConstructor 0.18
podamShouldHandleImmutablePojoWithGenerifiedCollectionsInConstructor 0.261
testConcurrentMapCreation 0.048
podamShouldHandleOptionalListOfStrings 0.064
podamShouldBeAbleToFillInPojosWithJsonNullableCollectionWrapper 0.312
podamShouldHandleImmutablePojosWithNonGenericCollections 0.028
testHashMapCreation 0.104
podamShouldFillInPojosWithAttributesContainingWildcards 0.072

ConstructorsUnitTest

testImmutablePojoConstructionFailure 0.152
podamShouldManufacturePackagePrivatePojos 0.14
podamShouldBeAbleToManufactureInstancesOfTheObservableClass 0.1
podamShouldBeAbleToInstantiatePojosWithImmutableCollections 0.109
podamShouldCreateInstancesOfJAXBElementsDeclaredAsInstanceVariablesInAPojo 0.113
podamShouldBeAbleToManufactureAnyTypeOfCollections 0.125
podamShouldCreateInstancesOfInnerClasses 0.135
podamShouldBeAbleToManufacturePojosWhichContainImmutableCollections 0.106
podamShouldHandleGenericsInConstructor 0.128
podamShouldHandleGenericCollectionsInConstructorWithMemoizationEnabled 0.138
podamShouldCreateInstancesOfPojosExtendingGenericClassesWithMatchingGenericPlaceholders 0.134
podamShouldCreateInstancesOfGenericPojosWithFactoryMethodsWhenTheConcreteTypeIsKnown 0.136
podamShouldCreateInstancesOfPojosExtendingGenericClasses 0.178
podamShouldHandleClassesWithKeyValueGenericTypes 0.118
podamShouldHandleGenericCollectionsInConstructorWithMemoizationDisabled 0.114
podamShouldHandleGenericsInSettersDuringPojoInstantiation 0.13
podamShouldBeAbleToManufactureAnyTypeOfMaps 0.119
podamShouldHandleConstructorsWithGenericArraysDuringPojoInstantiation 0.109
podamShouldCreateInstancesOfGenericReadOnlyPojosWithFactoryMethodsWhenTheConcreteTypeIsKnown 0.11
podamShouldBeAbleToInstantiatePojosWithImmutableMaps 0.12
podamShouldHandleConstructorsWithMultipleGenericsDuringPojoInstantiation 0.131
podamShouldInstantiateAbstractClassesForWhichItKnowsConcreteTypes 0.104
podamShouldChooseTheFullestConstructorWhenInvokedForFullData 0.1
podamShouldHandleGenericsInStaticConstructorsDuringPojoInstantiation 0.113
podamShouldCreateInstancesOfJAXBElements 0.111
podamShouldHandleGenericClassesWithParameterUsedInMultiplePlaces 0.151

ReadOnlyComplexTypesTest

podamShouldCreateAnInstanceOfAnAbstractClassWithAFactoryMethodWhichReturnsAConcreteType 0.131
podamShouldFillReadOnlyComplexTypes 0.112
podamShouldFillInPojosWhichContainInternalLoops 0.173
podamShouldFillReadOnlyTypes 0.085

RandomDataProviderStrategyImplInitialisationUnitTest

randomDataProviderStrategyShouldBeInitialisedCorrectlyAndAllowForChangesInNbrOfCollectionElements 0.12
creatingARandomDataProviderStrategyShouldCreateAConstructorHeavyComparator 0.16
creatingARandomDataProviderStrategyShouldCreateAMethodHeavyComparator 0.104
creatingARandomDataProviderStrategyShouldCreateAConstructorLightComparator 0.11
creatingARandomDataProviderStrategyShouldCreateAMethodLightComparator 0.119
podamShouldCorrectGenerateHashMapsWithLongAsKeyType 0.105
podamShouldCreatePojosInAccordanceWithCustomDataProviderStrategies 0.104

AbnormalPojosTest

podamShouldFillValuesInvokingChildrenSettersHavingDifferentTypesThanParent 0.12
invokingPodamOnaPojoWithPrivateNoArgumentsConstructorShouldReturnANonEmptyPojo 0.11
podamCannotHandleCircularConstructors 0.375
podamShouldFillPojosWithPublicNonDefaultPublicConstructors 0
podamShouldFillEmbeddedAbstractClassesIfAConcreteTypeHasBeenSpecified 0
podamShouldFillPojosWithProtectedNonDefaultConstructors 0.106
podamShouldReturnANullValueForNonInstantiablePojos 0.122
podamShouldGenerateANonNullPojoForAbstractTypesWithConcreteImplementation 0.129
podamShouldHandlePojosWithSelfReferenceConstructorsButNotDefaultConstructors 0.198
podamShouldThrowAnExceptionIfAPojoContainsInvalidGettersOrSetters 0.015
podamShouldHandlePojosWithPrivateOnlyConstructors 0.113
podamShouldHandlePojosWithAMixOfCircularAndNonCircularConstructors 0.425

ExtensionsTest

podamShouldCreatePojosInAccordanceWithCustomDataProviderStrategies 0
podamShouldCreateTimestampWithCustomTypeManufacturer 0.013
podamShouldCreateInputStreamWithCustomTypeManufacturer 0.131
podamShouldFillTheAttributeMetadataWithTheAttributeNames 0.133

NonEJBPojoTest

podamShouldHandleAttributesInAccordanceWithCustomClassInfoStrategies 0.145

ExternalFactoryUnitTest

podamShouldNotCreateInstancesOfAnAbstractClassEvenIfPojoHasFullConstructor 0.135
podamShouldNotcreateInstancesOfNonInstantiableClasses 0.12
theManagementOfExternalFactoriesShouldBeCorrectAndChainingShouldWord 0.117
podamDoesNotCreateInstancesOfAbstractClassesIfExternalFactoryDoesNotDefineThem 0.138
podamCannotFillInterfaceAttributesIfTheExternalFactoryDoesNotManufactureTheRightType 0.22
podamShouldNotBeAbleToCreateInterfaceInstancesGivenAnExternalFactoryWhichDoesNotManufactureTheConcreteType 0.101
podamShouldFillPojoInterfaceAttributeIfFullConstructorSetsItsValue 0.124

FactoryUnitTest

podamShouldBeAbleToCreateAnAbstractClassWithHelpOfFactory 0.125

InheritanceTest

podamShouldManufactureAttributesImplementingCollectionAndMapInterfaces 0.133
podamShouldHandleBasicInheritance 0.14
podamShouldManufactureAllPojosInATreeHierarchy 0.112
podamShouldHandleTheManufacturingOfPojosWhichInheritFromOtherClasses 0.105

MultipleInterfacesInheritanceTest

podamCannotInstantiateInterfacesWhichExtendMap 0.133
testHolderOfPojoWithMultiInterfaces 0.13
podamCannotInstantiateInterfaces 0.1

MemoizationTest

whenMemoizationIsFalsePodamShouldReturnDifferentInstancesForDifferentInvocations 0.115
whenMemoizationIsTruePodamShouldReturnTheSameInstanceForDifferentInvocations 0.11
whenMemoizationCacheIsClearedThenObjectsShouldNotBeEqual 0.117
memoizationShouldWorkCorrectlyForCollectionsAndArrays 0.12
memoizationShouldWorkForRecursivePojos 0.108
memoizationShouldWorkWithGenerics 0.107
evenWhenMemoizationIsTrueIfGenericPojosHaveDifferentTypesObjectsShouldNotBeEqual 0.108

RandomnessTest

podamShouldGenerateEvenlyDistributedRandomIntegers 0.145

SingletonsTest

podamShouldHandleSingletonsWithParametersInPublicStaticMethod 0.122

TypeManufacturingTest

podamMessagingSystemShouldReturnAFloatWrappedValue 0.115
podamMessagingSystemShouldReturnAShortPrimitiveValue 0.115
podamMessagingSystemShouldReturnAnEnumValue 0.12
podamMessagingSystemShouldReturnALongWrappedValue 0.121
podamMessagingSystemShouldReturnALongPrimitiveValue 0.111
podamMessagingSystemShouldReturnAnIntegerValue 0.112
podamMessagingSystemShouldReturnABytePrimitiveValue 0.11
podamMessagingSystemShouldReturnABooleanWrappedValue 0.104
podamMessagingSystemShouldReturnACharacterPrimitiveValue 0.21
podamMessagingSystemShouldReturnAByteWrappedValue 0.103
podamMessagingSystemShouldReturnAStringValue 0.107
podamMessagingSystemShouldReturnAnIntValue 0.1
podamMessagingSystemShouldReturnAShortWrappedValue 0.11
podamMessagingSystemShouldReturnAFloatPrimitiveValue 0.112
podamMessagingSystemShouldReturnACharacterWrappedValue 0.112
podamMessagingSystemShouldReturnADoublePrimitiveValue 0.111
podamMessagingSystemShouldReturnABooleanPrimitiveValue 0.105
podamMessagingSystemShouldReturnADoubleWrappedValue 0.112

ValidatedPojoTest

whenDigitsAndDecimalMinOrDecimalMaxAreAttachedToTheSameFieldPodamShouldUseMinimumRequirement 0.355
podamShouldAllowValidationAnnotationsCustomization 0.115
whenMaxLengthIsNotSpecifiedInSizeAnnotationPodamShouldAssignASensibleDefault 0.115
podamShouldFulfillMostOfTheJavaxValidationFramework 0.175
whenTheAnnotationStrategyAndTheTypeManufacturerAreSpecifiedTheFormerHasPrecedence 0.13
podamShouldFulfillMostOfTheJavaxValidation20Framework 0.109

WalkThroughExampleUnitTest

testCountrySetup 0.12
testClientSetup 0.138
testOrderSetup 0.122
testArticleSetup 0.108
testBankAccountSetup 0.122
testAddressSetup 0.122
testOrderItemSetup 0.116

XMLDatatypeUnitTest

testDurationManufacturing 0.134
testXMLDatatypesFieldSetting 0.12
testXMLGregorianCalendarManufacturing 0.108

ExtraMethodsUnitTest

testExtraMethods 0

MyInitPojoUnitTest

testMyInitPojo 0

Issue93UnitTest

testLoop 5.118

Pdm3PojoUnitTest

testPdm3IndirectImplementingMapOfPojos 0.004
testPdm3MapOfGenericPojos 0
testPdm3ListOfGenericPojos 0
testPdm3ExtendingMapOfPojos 0
testPdm3ListOfPojos 0
testPdm3IndirectImplementingListOfPojos 0.004
testPdm3MapOfPojos 0
testPdm3PojoConstructor 0
testPdm3ImplementingListOfPojos 0
testPdm3WildcardPojo 0
testPdm3ImplementingMapOfPojos 0
testPdm3ExtendingImplementingMapOfPojos 0
testPdm3Pojo 0
testPdm3ExtendingListOfPojos 0
testPdm3ExtendingNonRawMapOfPojos 0.004
testPdm3ExtendingImplementingListOfPojos 0
testPdm3PojoGenericsConstructor 0
testPdm3ExtendingRawListOfPojos 0.004

InstantiationUnitTest

testPdm4PojoWithSetters 0.024
testPdm4PojoWithFullData 0.028
testPojoWithFactoryMethods 0.032
testPojoWithFactoryMethodsWithFullData 0.032
testPojoWithMultipleNonPublicConstructorsWithFullData 0.028
testPojoWithMultipleNonPublicConstructors 0.024

Pdm43UnitTest

validateDtoInstantiation 0

Pdm45UnitTest

testParametrizedNestedGenericPojo 0.012
testConstructorMultiDimensionalPojo 0.104
testGenericArrayPojoManufacture 0
testPojoWithGenericFields 0
testGenericPojoManufacture 0
testMultiDimensionalPojoManufacture 0.08
testGenericListPojoManufacture 0
testGenericMapPojoManufacture 0.014
testMultiDimensionalTestPojo 0.124

InvisibleConstructorAndNoSettersTest

testInvisibleConstructorAndNoSetters 0