Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
119 0 0 0 100% 0.047

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
org.codecop.badadam.story 17 0 0 0 100% 0
org.codecop.badadam.scanner 9 0 0 0 100% 0.016
it.com.lunivore.gameoflife 9 0 0 0 100% 0
it.primefactors.jbehave 36 0 0 0 100% 0.016
org.codecop.badadam.steps 14 0 0 0 100% 0.015
org.codecop.badadam.steps.line 19 0 0 0 100% 0
org.codecop.badadam.steps.args 15 0 0 0 100% 0

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

org.codecop.badadam.story

Class Tests Errors Failures Skipped Success Rate Time
ScenarioParserTest 9 0 0 0 100% 0
StepsClassNameCalcTest 4 0 0 0 100% 0
StoryLineProcessorTest 4 0 0 0 100% 0

org.codecop.badadam.scanner

Class Tests Errors Failures Skipped Success Rate Time
BaseFolderScannerTest 3 0 0 0 100% 0
ClassPathStoryFileFinderTest 1 0 0 0 100% 0
FileExtensionFilterTest 2 0 0 0 100% 0
FileSystemTraverserTest 3 0 0 0 100% 0.016

it.com.lunivore.gameoflife

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

it.primefactors.jbehave

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

org.codecop.badadam.steps

Class Tests Errors Failures Skipped Success Rate Time
AnnotatedMethodsTest 2 0 0 0 100% 0
AnnotationScannerTest 3 0 0 0 100% 0
BeforeStepsRunnerTest 1 0 0 0 100% 0
StepsRunnerTest 6 0 0 0 100% 0.015
StepTypeTest 2 0 0 0 100% 0

org.codecop.badadam.steps.line

Class Tests Errors Failures Skipped Success Rate Time
AnyBlankPatternFactoryTest 3 0 0 0 100% 0
BlankAndValuePatternFactoryTest 8 0 0 0 100% 0
StepsLineFactoryCollectionTest 3 0 0 0 100% 0
StepsLineFactoryIntTest 3 0 0 0 100% 0
StepsLineFactoryNoArgsTest 2 0 0 0 100% 0

org.codecop.badadam.steps.args

Class Tests Errors Failures Skipped Success Rate Time
ConverterRegistryTest 12 0 0 0 100% 0
ListConverterTest 3 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

GridSteps

grid story scenario 1 Given a new game 5 by 5 0
grid story scenario 1 Then the grid should be ..... ..... ..... ..... ..... 0
grid story scenario 2 Given a 5 by 5 game 0
grid story scenario 2 When I toggle the cell at 2 3 0
grid story scenario 2 When I toggle the cell at 2 3 0
grid story scenario 2 Then the grid should look like ..... ..... ..... ..X.. ..... 0
grid story scenario 2 When I toggle the cell at 2 4 0
grid story scenario 2 Then the grid should look like ..... ..... ..... ..X.. ..X.. 0
grid story scenario 2 Then the grid should look like ..... ..... ..... ..... ..X.. 0

FactorizingSimpleSteps

factorizing simple story scenario 1 Given the number 1 0
factorizing simple story scenario 1 When this number is factored 0
factorizing simple story scenario 1 Then the list of factors is 0
factorizing simple story scenario 2 Given the number 2 0
factorizing simple story scenario 2 When this number is factored 0
factorizing simple story scenario 2 Then the list of factors is 2 0
factorizing simple story scenario 3 Given the number 3 0
factorizing simple story scenario 3 When this number is factored 0
factorizing simple story scenario 3 Then the list of factors is 3 0
factorizing simple story scenario 4 Given the number 4 0
factorizing simple story scenario 4 When this number is factored 0
factorizing simple story scenario 4 Then the list of factors is 2 2 0
factorizing simple story scenario 5 Given the number 8 0
factorizing simple story scenario 5 When this number is factored 0
factorizing simple story scenario 5 Then the list of factors is 2 2 2 0
factorizing simple story scenario 6 Given the number 9 0
factorizing simple story scenario 6 When this number is factored 0
factorizing simple story scenario 6 Then the list of factors is 3 3 0

FactorizingSteps

mathematician factors prime Given the number 1 0
mathematician factors prime When this number is factored 0
mathematician factors prime Then the list of factors is empty 0.016
factorizing story scenario 2 Given the number 2 0
factorizing story scenario 2 When this number is factored 0
factorizing story scenario 2 Then the list of factors is 2 0
factorizing story scenario 3 Given the number 3 0
factorizing story scenario 3 When this number is factored 0
factorizing story scenario 3 Then the list of factors is 3 0
factorizing story scenario 4 Given the number 4 0
factorizing story scenario 4 When this number is factored 0
factorizing story scenario 4 Then the list of factors ix 2 and 2 0
factorizing story scenario 5 Given the number 8 0
factorizing story scenario 5 When this number is factored 0
factorizing story scenario 5 Then the list of factors iy 2 and 2 and 2 0
factorizing story scenario 6 Given the number 9 0
factorizing story scenario 6 When this number is factored 0
factorizing story scenario 6 Then the list of factors ix 3 and 3 0

BaseFolderScannerTest

shouldOnlyFindClassFilesInSubFoldersOfSpecifiedPackageOnly 0
shouldFindClassesAsRelativeFiles 0
shouldBeEmptyWhenFindingNothing 0

ClassPathStoryFileFinderTest

shouldFindStoriesOnClasspath 0

FileExtensionFilterTest

shouldAcceptDifferentCaseExtension 0
shouldAcceptSameExtension 0

FileSystemTraverserTest

shouldFindNothingOnInvalidFolder 0
shouldFindFilesInBaseFolder 0
shouldFindFilesInSubFolders 0.016

AnnotatedMethodsTest

shouldFailIfNoMatch 0
shouldMatch 0

AnnotationScannerTest

shouldFindNothingInNormalClass 0
shouldFindGivenAnnotation 0
shouldParseGivenAnnotation 0

ConverterRegistryTest

shouldFailForWrongString 0
shouldConvertDoublePrimitive 0
shouldFailForWrongInteger 0
shouldFailForWrongBoolean 0
shouldConvertBigDecimal 0
shouldConvertInteger 0
shouldConvertInt 0
shouldConvertString 0
shouldConvertEnum 0
shouldConvertDouble 0
shouldConvertBoolean 0
shouldConvertArrays 0

ListConverterTest

shouldConvertSingleElementList 0
shouldConvertDoubleElementList 0
shouldConvertEmptyList 0

BeforeStepsRunnerTest

shouldExecBeforeAndAfterMethods 0

AnyBlankPatternFactoryTest

shouldIgnoreWhitespaceInStoryLine 0
shouldMatchSameStoryLine 0
shouldNotMatchOtherStoryLine 0

BlankAndValuePatternFactoryTest

shouldMatchMultiLineStringStory 0
shouldNotMatchInvalidStringData 0
shouldFailForTooManyVariables 0
shouldMatchStringStoryLine 0
shouldFailForTooFewVariables 0
shouldMatchTwoIntStoryLinesWithBraces 0
shouldFailForTooFewVariablesWithBraces 0
shouldFailForTooManyVariablesWithBraces 0

StepsLineFactoryCollectionTest

shouldMatchBlanksAroundSeparators 0
shouldMatchSameStoryLine 0
shouldNotMatchInvalidData 0

StepsLineFactoryIntTest

shouldMatchSameStoryLine 0
shouldNotMatchInvalidData 0
shouldFailIfNotMatched 0

StepsLineFactoryNoArgsTest

shouldMatchSameStoryLine 0
shouldReturnClassAndMethod 0

StepsRunnerTest

shouldCreateNewInstance 0
shouldExecFirstStepMethods 0
shouldExecAndStepMethods 0
shouldFailOnWrongLine 0.015
shouldExecAllStepMethods 0
shouldExecAliasStepMethods 0

StepTypeTest

shouldValueOfIgnoreCase 0
shouldLookupByClass 0

ScenarioParserTest

shouldRaiseOnMissingGivenInScenario 0
shouldRaiseOnInvalidTextAtBeginning 0
shouldParseSecondScenariosName 0
shouldAppendMultilineText 0
shouldParseScenariosNames 0
shouldRaiseOnMissingGiven 0
shouldRaiseOnMissingThen 0
shouldIgnoreComments 0
shouldRaiseOnInvalidTextAfterScenario 0

StepsClassNameCalcTest

shouldParseDetailedStepsClass 0
shouldFailForMissingStepsClass 0
shouldParseStepsClass 0
shouldParseComplexStepsClass 0

StoryLineProcessorTest

shouldFailForMissingStoryFile 0
shouldGiveScenariosNames 0
shouldCountScenarioSteps 0
shouldCountScenarios 0