Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
185 0 0 0 100% 2.252

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
1 0 0 0 100% 0
de.smartics.testdoc.core.doc.names 8 0 0 0 100% 0.001
de.smartics.testdoc.core.source 36 0 0 0 100% 0.11
de.smartics.testdoc.collect.processor 17 0 0 0 100% 1.083
de.smartics.testdoc.core.export 26 0 0 0 100% 0.25
de.smartics.testdoc.collect.extractor 2 0 0 0 100% 0.126
de.smartics.testdoc.core.doc 92 0 0 0 100% 0.65
de.smartics.testdoc.core.doc.adapter 3 0 0 0 100% 0.032

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

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

de.smartics.testdoc.core.doc.names

Class Tests Errors Failures Skipped Success Rate Time
CaseSensitiveTestNameUtilsTest 4 0 0 0 100% 0
EnglishTestNameUtilsTest 4 0 0 0 100% 0.001

de.smartics.testdoc.core.source

Class Tests Errors Failures Skipped Success Rate Time
PositionCompareToTest 3 0 0 0 100% 0.03
PositionConstructorTest 7 0 0 0 100% 0.001
PositionObjectTest 9 0 0 0 100% 0.076
PositionSerializableTest 1 0 0 0 100% 0
SourceCodeLocationConstructorTest 6 0 0 0 100% 0.001
SourceCodeLocationObjectTest 9 0 0 0 100% 0.002
SourceCodeLocationSerializableTest 1 0 0 0 100% 0

de.smartics.testdoc.collect.processor

Class Tests Errors Failures Skipped Success Rate Time
TestDocProcessorTest 17 0 0 0 100% 1.083

de.smartics.testdoc.core.export

Class Tests Errors Failures Skipped Success Rate Time
BaseAbstractExportAdapterTest 2 0 0 0 100% 0
BaseAbstractOutputManagerTest 4 0 0 0 100% 0.016
FileOutputManagerTest 4 0 0 0 100% 0.095
UnitTestDocIndexExporterConstructorTest 2 0 0 0 100% 0.003
UnitTestDocIndexExporterTest 5 0 0 0 100% 0.011
XmlExporterTest 9 0 0 0 100% 0.125

de.smartics.testdoc.collect.extractor

Class Tests Errors Failures Skipped Success Rate Time
TestDocExtractorConstructorTest 2 0 0 0 100% 0.126

de.smartics.testdoc.core.doc

Class Tests Errors Failures Skipped Success Rate Time
ScenarioTestDocConstructorTest 4 0 0 0 100% 0.002
ScenarioTestDocObjectTest 9 0 0 0 100% 0.074
ScenarioTestDocSerializableTest 1 0 0 0 100% 0.011
SortKeyCompareToTest 3 0 0 0 100% 0.099
SortKeyObjectTest 11 0 0 0 100% 0.166
SortKeySerializableTest 1 0 0 0 100% 0
TestMethodDocConstructorTest 4 0 0 0 100% 0.001
TypeCompareToTest 3 0 0 0 100% 0.042
TypeConstructorTest 6 0 0 0 100% 0
TypeObjectTest 9 0 0 0 100% 0.085
TypeSerializableTest 1 0 0 0 100% 0
UnitTestDocCompareToTest 3 0 0 0 100% 0.129
UnitTestDocConstructorTest 5 0 0 0 100% 0
UnitTestDocIndexDeregisterTestCaseTest 6 0 0 0 100% 0.001
UnitTestDocIndexGetByTestCaseTest 3 0 0 0 100% 0
UnitTestDocIndexTest 5 0 0 0 100% 0
UnitTestDocObjectTest 9 0 0 0 100% 0.038
UnitTestDocRemoveScenariosTest 5 0 0 0 100% 0
UnitTestDocSerializableTest 1 0 0 0 100% 0.002
UnitTestDocTest 3 0 0 0 100% 0

de.smartics.testdoc.core.doc.adapter

Class Tests Errors Failures Skipped Success Rate Time
JmxExportAdapterClientTest 2 0 0 0 100% 0.032
SingletonInMemoryExportAdapterTest 1 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

TestDocExtractorConstructorTest

rejectsConstructionWithNullExtractorConfig 0.126
rejectsConstructionWithNullVariableName 0

TestDocProcessorTest

classAnnotatedTest 0.553
classAnnotatedWithMethodPropertyTest 0.043
methodAnnotatedTest 0.049
fieldAnnotatedTest 0.032
invalidAnnotatedAtTypeAndField 0.027
fieldAnnotatedWithMethodPropertyTest 0.031
mixedAnnotatedWithType 0.037
mixedAnnotatedWithField 0.036
extractsTwoScenariosInAClassWithTwoTestAndTwoHelperMethods 0.032
extractsCategoriesOnTestMethod 0.034
extractsCategoriesOnTestCase 0.037
usesTestDocHintsSentence 0.031
usesTestDocHintsSortKey 0.032
usesTestDocHintsSortKeyTypeLevel 0.023
acceptsTheories 0.026
extendingTheory 0.033
localVarAnnotatedTestIsNotSupported 0.027

JmxExportAdapterClientTest

registersMBeanOnConstruction 0.032
delegatesToJmxBean 0

SingletonInMemoryExportAdapterTest

providesAccessToIndex 0

CaseSensitiveTestNameUtilsTest

translatesBlankSeparatedWordsToGermanSentences 0
throwsExceptionWhenInputIsNull 0
throwsExceptionWhenInputIsEmpty 0
throwsExceptionWhenInputIsBlank 0

EnglishTestNameUtilsTest

throwsExceptionWhenInputIsNull 0
throwsExceptionWhenInputIsEmpty 0
throwsExceptionWhenInputIsBlank 0.001
translatesCamelCaseToEnglishSentences 0

ScenarioTestDocConstructorTest

rejectsConstructionWithBlankTestCaseType 0
rejectsConstructionWithNullTestCaseType 0.001
acceptsNullAsValueForCategories 0
allowsAccessToProperties 0.001

ScenarioTestDocObjectTest

equalsIsReflexive 0.012
equalsIsSymmetric 0.008
equalsIsTransitive 0.024
equalsIsConsistent 0.008
equalsReturnFalseOnNull 0.002
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.007
hashCodeProducesUnequalHashCodesForUnequalInstances 0.007
toStringRunsWithoutFailure 0.003

ScenarioTestDocSerializableTest

isSerializable 0.011

SortKeyCompareToTest

compareToIsSymmetric 0.016
compareToIsTransitive 0.071
compareToIsConsistentToEquals 0.012

SortKeyObjectTest

providesAccessToTheMainKey 0
providesAccessToTheIndexKey 0
equalsIsReflexive 0.004
equalsIsSymmetric 0.02
equalsIsTransitive 0.102
equalsIsConsistent 0.016
equalsReturnFalseOnNull 0.002
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.01
hashCodeProducesUnequalHashCodesForUnequalInstances 0.009
toStringRunsWithoutFailure 0.001

SortKeySerializableTest

isSerializable 0

TestMethodDocConstructorTest

allowsAccessToProperties 0.001
rejectsConstructionWithBlankTestName 0
rejectsConstructionWithNoTestSentence 0
rejectsConstructionWithNoLocation 0

TypeCompareToTest

compareToIsSymmetric 0.007
compareToIsTransitive 0.03
compareToIsConsistentToEquals 0.005

TypeConstructorTest

rejectsNullAsUutType 0
rejectsEmptyStringAsUutType 0
rejectsWhitespaceStringAsUutType 0
rejectsUutTypeWithADotAtTheEnd 0
acceptsUutTypeWithoutPackage 0
acceptsUutTypeWithPackage 0

TypeObjectTest

equalsIsReflexive 0.002
equalsIsSymmetric 0.008
equalsIsTransitive 0.041
equalsIsConsistent 0.008
equalsReturnFalseOnNull 0.002
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.009
hashCodeProducesUnequalHashCodesForUnequalInstances 0.012
toStringRunsWithoutFailure 0.001

TypeSerializableTest

isSerializable 0

UnitTestDocCompareToTest

compareToIsSymmetric 0.018
compareToIsTransitive 0.1
compareToIsConsistentToEquals 0.011

UnitTestDocConstructorTest

acceptsNoBlankUutTypeString 0
acceptsNoNullUutType 0
acceptsNullScenarios 0
acceptsNullScenariosNotAsVararg 0
acceptsScenariosViaVarargs 0

UnitTestDocIndexDeregisterTestCaseTest

deregisteringUnknownTestCaseFromEmptyUutIsSilentlyIgnored 0
deregisteringUnknownTestCaseIsSilentlyIgnored 0
deregisteringTestCaseFromUutContainingOnlyOnTestScenarioWithThisTestCaseLeavesTheUutWithoutScenarios 0.001
deregisteringTestCaseFromUutContainingMultipleTestScenarioForThisTestCaseLeavesTheUutWithoutScenarios 0
deregisteringTestCaseFromUutContainingScenarioBackedUpByDifferentTestCasesLeavesOnlyTheScenariosOfOtherTestCases 0
deregisteringTestCaseMayAffectMoreThanOneUut 0

UnitTestDocIndexGetByTestCaseTest

allowsAccessToTestCaseOfRegisteredUnitTestDoc 0
allowsAccessToTestCaseOfRegisteredUnitTestDocEvenIfMergingWasConducted 0
evenIfTwoTestCasesProvideTestsForOneUutOnlyThatOfTheRequestedTestCaseAreReturnedOnRequest 0

UnitTestDocIndexTest

showsIfIsEmpty 0
providesAccessToRegisteredDocs 0
allowsRegisteringUnitTestDoc 0
allowsReregisteringUnitTestDocWithScenariosThatWillBeMerged 0
ensuresThatAdditionalRegistrationsOfScenariosAreAddedToTheExistingInstance 0

UnitTestDocObjectTest

equalsIsReflexive 0.002
equalsIsSymmetric 0.005
equalsIsTransitive 0.018
equalsIsConsistent 0.003
equalsReturnFalseOnNull 0.001
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.004
hashCodeProducesUnequalHashCodesForUnequalInstances 0.003
toStringRunsWithoutFailure 0.001

UnitTestDocRemoveScenariosTest

rejectsRmovingScenariosWithNullValue 0
removingFromEmptyScenariosIsSilentlyIgnored 0
removingFromScenariosNotReferingToTestCaseAreSilentlyIgnored 0
removingFromScenariosContainingOnlyScenariosFromTestCase 0
removingFromScenariosContainingScenariosFromDifferentTestCases 0

UnitTestDocSerializableTest

isSerializable 0.002

UnitTestDocTest

allowsAccessToProperties 0
doesNotAllowToAddScenariosOfDifferentUutEvenIfNoScenariosProvided 0
allowsToAddScenariosOfSameUut 0

BaseAbstractExportAdapterTest

reportsFailure 0
reportsSuccess 0

BaseAbstractOutputManagerTest

initDoesNothing 0.008
closesStream 0.006
runsExporter 0.001
finishDoesNothing 0.001

FileOutputManagerTest

doesNotAcceptNullForTestDocInstance 0.078
handlesTestDocsInDefaultPackage 0.004
handlesTestDocsWithPackage 0.007
signalsIfFileCannotBeWritten 0.006

UnitTestDocIndexExporterConstructorTest

allowsToSetAnOutputManager 0.003
requiresThatTheManagerIsNotNull 0

UnitTestDocIndexExporterTest

allowsToExportAnIndexOfUnitTestDocs 0.005
requiresThatTheIndexToBeExportedIsNotNull 0.001
passesUnitTestDocOfTheIndexToManagerWhileCallingInitAndFinishOnTheManagerOnlyOnce 0.001
passesEachUnitTestDocOfTheIndexToManagerOnlyOnce 0.002
exportsNothingIfIndexIsEmpty 0.002

XmlExporterTest

writesTestDocsWithNoScenarios 0.114
writesTestDocsWithOneScenario 0.002
writesTestDocsWithOneScenarioAndCategories 0.002
writesTestDocsWithManyScenarios 0.001
prettyPrintDoesNotFail 0.002
definesXmlExtension 0.001
rejectsNullTestDocWhenCallingExport 0.001
rejectsNullOutputStreamWhenCallingExport 0.001
allowsConstructionByNoArgsConstructor 0.001

PositionCompareToTest

compareToIsSymmetric 0.004
compareToIsTransitive 0.023
compareToIsConsistentToEquals 0.003

PositionConstructorTest

rejectsConstructionWithLineNumber0 0.001
rejectsConstructionWithLineNumberSmallerThan0 0
rejectsConstructionWithColumnNumber0 0
rejectsConstructionWithColumnNumberSmallerThan0 0
acceptsConstructionMinimumValues 0
acceptsConstructionMaximumValues 0
allowsToRetrievePropertiesSetByConstructor 0

PositionObjectTest

equalsIsReflexive 0.001
equalsIsSymmetric 0.008
equalsIsTransitive 0.043
equalsIsConsistent 0.007
equalsReturnFalseOnNull 0.001
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.007
hashCodeProducesUnequalHashCodesForUnequalInstances 0.007
toStringRunsWithoutFailure 0.001

PositionSerializableTest

isSerializable 0

SourceCodeLocationConstructorTest

allowsToRetrievePropertiesSetByConstructor 0
rejectsConstructionWithStartIsNull 0
rejectsConstructionWithEndIsNull 0
rejectsConstructionWithStartIsAfterEnd 0.001
acceptsConstructionWithStartIsEqualToEnd 0
acceptsConstructionWithStartIsBeforeEnd 0

SourceCodeLocationObjectTest

equalsIsReflexive 0.001
equalsIsSymmetric 0
equalsIsTransitive 0
equalsIsConsistent 0.001
equalsReturnFalseOnNull 0
hashCodeIsConsistent 0
hashCodeIsConsistentWithEquals 0
hashCodeProducesUnequalHashCodesForUnequalInstances 0
toStringRunsWithoutFailure 0

SourceCodeLocationSerializableTest

isSerializable 0

FieldWithCategoriesOnTestCase

containsNoEmptyElements 0