Failsafe Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
31 0 0 0 100% 16.689

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
com.varmateo.yawg.atests.api 1 0 0 0 100% 0.009
com.varmateo.yawg.atests 30 0 0 0 100% 16.68

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

com.varmateo.yawg.atests.api

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

com.varmateo.yawg.atests

Class Tests Errors Failures Skipped Success Rate Time
CliOptionPageVarIT 4 0 0 0 100% 7.313
ExcludeHereParamIT 1 0 0 0 100% 1.107
ExcludeParamIT 2 0 0 0 100% 0.081
TemplateParamIT 2 0 0 0 100% 0.855
AsciidoctorBakerIT 4 0 0 0 100% 6.71
HtmlBakerIT 2 0 0 0 100% 0.088
CommonMarkBakerIT 4 0 0 0 100% 0.239
CliOptionsIT 3 0 0 0 100% 0.065
ExtraDirsHereParamIT 1 0 0 0 100% 0.052
CliOptionSourceIT 5 0 0 0 100% 0.131
TemplateDataModelIT 2 0 0 0 100% 0.039

Test Cases

[Summary] [Package List] [Test Cases]

CliOptionPageVarIT

givenPageVarOption_whenBaking_thenVarIsVisibleInTemplate 0.014
givenPageVarOption_whenBakingAsciidocWithNoTemplate_thenVarIsVisibleInContent 5.985
givenPageVarOption_whenBakingAsciidocWithTemplate_thenVarIsVisibleInContent 1.241
givenTwoPageVarOptions_whenBaking_thenVarsAreVisibleInTemplate 0.064

ExcludeHereParamIT

givenExcludeHereParam_whenBaking_thenFilesAreExcludedOnlyInDir 0.95

ExcludeParamIT

givenExcludeParam_whenBaking_thenFilesAreExcludedInTopDir 0.038
givenExcludeParam_whenBaking_thenFilesAreExcludedInDirTree 0.041

TemplateParamIT

givenEmptyTemplatesDir_whenBaking_thenErrorDueToMissingDefaultTemplate 0.318
givenTemplatesDirWithoutTemplateParam_whenBaking_thenDefaultTemplateIsUsed 0.479

AsciidoctorBakerIT

givenDocWithEmbededPuml_whenBakingWithouTemplate_thenTargetHasSvg 2.717
givenDocWithExternalPuml_whenBakingWithTemplate_thenTargetHasSvg 1.433
givenDocWithExternalPuml_whenBakingWithouTemplate_thenTargetHasSvg 1.235
givenDocWithEmbededPuml_whenBakingWitTemplate_thenTargetHasSvg 1.316

HtmlBakerIT

givenTemplate_whenBakingHtmlSource_thenTargetIsTemplated 0.041
givenNoTemplate_whenBakingHtmlSource_thenTargetIsCopy 0.032

CommonMarkBakerIT

givenDocWithoutFrontMatter_whenBake_thenTitleIsSourceBasename 0.101
givenDoc_whenBakingWithoutTemplate_thenTargetHasRightContent 0.061
givenDoc_whenBakingWithTemplate_thenTargetHasRightContent 0.04
givenDocWithFrontMatter_whenBake_thenTitleIsCorrect 0.029

CliOptionsIT

noArgs 0.041
helpOption 0.011
unknownOption 0.001

ExtraDirsHereParamIT

givenExtraDirsHereParam_whenBaking_thenExtraContentsArePresent 0.03

CliOptionSourceIT

sourceMissingValue 0.023
sourceWithNoTarget 0.017
givenSourceDirHasEntries_whenBake_thenTargetDirHasSameEntries 0.031
givenSourceDirIsEmpty_whenBake_thenTargetDirIsEmpty 0.02
sourceNonExisting 0.03

YawgInfoIT

checkVersion 0

TemplateDataModelIT

givenDocs_whenBakingOnce_thenBakeIdIsTheSameInBoth 0.001
givenDoc_whenBakingTwice_thenBakeIdIsDifferent 0.026