Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
61 0 0 0 100% 7.421

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.org.lidalia.test 61 0 0 0 100% 7.421

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

uk.org.lidalia.test

Class Tests Errors Failures Skipped Success Rate Time
StaticTimeRuleTests 1 0 0 0 100% 0
AssertTests 18 0 0 0 100% 0.722
ValuesTests 22 0 0 0 100% 3.598
SystemOutputRuleTests 4 0 0 0 100% 0.004
ShouldThrowTests 6 0 0 0 100% 0.879
SystemOutputRuleUnitTests 4 0 0 0 100% 0.14
FeatureMatcherTests 2 0 0 0 100% 0.019
StaticTimeRuleUnitTests 4 0 0 0 100% 2.059

Test Cases

[Summary] [Package List] [Test Cases]

StaticTimeRuleTests

nowStaticTimeKeepsTimeStatic 0

AssertTests

assertNotInstantiableWithInstantiableClass 0.136
hasModifierFinalWithNonFinalMethod 0.052
aClassWhoseSuperClassNonMatching 0.014
assertNotInstantiableWithWrongSuperClass 0.028
lengthWithNonMatchingLength 0.02
notInstantiable 0.002
atIndexWithIndexOutOfBounds 0.014
assertNotInstantiableWithWrongExceptionTypeClass 0.117
atIndexWrongExpectation 0.015
assertNotInstantiableWithPublicConstructorClass 0.055
hasModifierFinalWithFinalMethod 0
atIndexCorrectExpectation 0.001
assertNotInstantiableWithConstructorWithParamClass 0.07
lengthWithMatchingLength 0.001
assertNotInstantiableWithUninstantiableClass 0.016
assertNotInstantiableWithWrongExceptionMessageClass 0.138
assertNotInstantiableWithMultipleConstructorsClass 0.042
aClassWhoseSuperClassMatching 0.001

ValuesTests

notInstantiable 0.021
uniqueValueForBooleanObject 0
uniqueValueForBoolean 0
uniqueValueForPrimitiveArray 0.001
[0] byte (uniqueValueForType) 0.002
[1] short (uniqueValueForType) 0
[2] char (uniqueValueForType) 0
[3] int (uniqueValueForType) 0.001
[4] long (uniqueValueForType) 0
[5] float (uniqueValueForType) 0.001
[6] double (uniqueValueForType) 0.001
[7] class java.lang.Byte (uniqueValueForType) 0
[8] class java.lang.Short (uniqueValueForType) 0.001
[9] class java.lang.Character (uniqueValueForType) 0
[10] class java.lang.Integer (uniqueValueForType) 0
[11] class java.lang.Long (uniqueValueForType) 0.001
[12] class java.lang.Float (uniqueValueForType) 0
[13] class java.lang.Double (uniqueValueForType) 0
[14] interface java.io.Serializable (uniqueValueForType) 3.53
[15] class java.lang.String (uniqueValueForType) 0
uniqueValueForMultidimensionalObjectArray 0.038
uniqueValueForObjectArray 0.001

SystemOutputRuleTests

useSysOutAgain 0.001
useSysErrAgain 0.001
useSysErrOnce 0.001
useSysOutOnce 0.001

ShouldThrowTests

shouldThrowThrowsAssertionFailedErrorIfNoExceptionThrown 0.087
notInstantiable 0.745
shouldThrowReturnsExpectedError 0.012
shouldThrowThrowsUnexpectedException 0.012
shouldThrowReturnsExpectedException 0.012
shouldThrowThrowsAssertionFailedErrorWithMessage 0.011

SystemOutputRuleUnitTests

restoresSystemErrAfterException 0.091
replacesAndRestoresSystemErr 0.002
replacesAndRestoresSystemOut 0.001
restoresSystemOutAfterException 0.046

FeatureMatcherTests

nonMatchingNestedFeature 0.006
nonMatchingFeature 0.013

StaticTimeRuleUnitTests

alwaysStartOfEpochSetsToStartOfEpoch 1.913
replacesAndRestoresSystemTime 0.038
restoresSystemTimeAfterException 0.105
alwaysSetsToGivenTime 0.003