Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
120 0 0 2 98.3% 390.0 s

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
e2e 66 0 0 2 97.0% 388.1 s
com.github.danielflower.mavenplugins.release 54 0 0 0 100% 1.866 s

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

e2e

- Class Tests Errors Failures Skipped Success Rate Time
GitRelatedTest 4 0 0 0 100% 7.264 s
ParentAsSiblingTest 2 0 0 0 100% 14.28 s
JGitDiscoveryTest 1 0 0 1 0% 0 s
VersionsReportTest 1 0 0 0 100% 4.252 s
IndependentVersionsTest 3 0 0 0 100% 24.59 s
BomDependencyUsingParentModuleVersionTest 4 0 0 0 100% 40.53 s
MavenCompatibilityTest 1 0 0 1 0% 0.071 s
PartialReleaseTest 3 0 0 0 100% 18.72 s
InheritedVersionsTest 2 0 0 0 100% 12.79 s
TestRunningTest 2 0 0 0 100% 7.449 s
NestedModulesTest 2 0 0 0 100% 34.66 s
ExecutionTest 6 0 0 0 100% 23.60 s
HelpTest 2 0 0 0 100% 2.657 s
NextMojoTest 5 0 0 0 100% 29.48 s
SkippingUnchangedModulesTest 7 0 0 0 100% 55.15 s
LocalPluginTest 2 0 0 0 100% 5.906 s
BomDependencyTest 4 0 0 0 100% 32.43 s
ValidationTest 8 0 0 0 100% 28.69 s
SingleModuleTest 6 0 0 0 100% 40.28 s
DifferentDelimiterTest 1 0 0 0 100% 5.303 s

com.github.danielflower.mavenplugins.release

- Class Tests Errors Failures Skipped Success Rate Time
DiffDetectorTest 8 0 0 0 100% 0.427 s
LocalGitRepoTest 4 0 0 0 100% 0.260 s
SshAgentSessionFactoryTest 1 0 0 0 100% 0.048 s
ReleasableModuleTest 2 0 0 0 100% 0.002 s
VersionNamerTest 6 0 0 0 100% 0.002 s
BaseMojoTest 7 0 0 0 100% 0.089 s
ReactorTest 4 0 0 0 100% 0.003 s
ReleaseInvokerTest 13 0 0 0 100% 0.798 s
AnnotatedTagFinderTest 6 0 0 0 100% 0.185 s
AnnotatedTagTest 3 0 0 0 100% 0.052 s

Test Cases

[Summary] [Package List] [Test Cases]

DiffDetectorTest

canDetectLatestTagOnBranch 0.047 s
canDetectLatestBuildNoMatterIfCreatedWrongWayRound 0.031 s
canDetectLocalChangesWithModuleFolders 0.075 s
canDetectThingsInTheRoot 0.039 s
canDetectIfFilesHaveBeenChangedForAModuleSinceSomeSpecificTag 0.057 s
canDetectChangesAfterTheLastTag 0.054 s
canDetectLatestBuild 0.039 s
canIgnoreChangesInModuleFolders 0.082 s

LocalGitRepoTest

canHaveManyTags 0.163 s
canDetectRemoteTags 0.032 s
canDetectLocalTags 0.032 s
usesThePassedInScmUrlToFindRemote 0.033 s

GitRelatedTest

ifTheScmIsSpecifiedButIsNotGitThenThisIsThrown 1.301 s
ifThereIsNoRemoteButTheScmDetailsArePresentThenThisIsUsed 2.926 s
ifTheReleaseIsRunFromANonGitRepoThenAnErrorIsClearlyDisplayed 1.437 s
ifThereIsNoScmInfoAndNoRemoteBranchThenAnErrorIsThrown 1.596 s

ParentAsSiblingTest

buildsAndInstallsAndTagsAllModules 10.10 s
thePomChangesAreRevertedAfterTheRelease 4.182 s

JGitDiscoveryTest

- 0 s
- got: "true", expected: null -

VersionsReportTest

buildsAndInstallsAndTagsAllModules 4.252 s

SshAgentSessionFactoryTest

createDefaultJSch_WithKnownHosts 0.047 s

IndependentVersionsTest

buildsAndInstallsAndTagsAllModules 12.10 s
thePomChangesAreRevertedAfterTheRelease 4.202 s
whenRunFromASubFolderItShowsAnError 1.541 s

ReleasableModuleTest

aReleaseableModuleCanBeCreatedFromAnUnreleasableOne 0.001 s
getsTheTagFromTheArtifactAndVersion 0.001 s

BomDependencyUsingParentModuleVersionTest

willReleaseConsoleAppAndCoreUtilsWhenCoreUtilsIsChanged 10.21 s
willReleaseOnlyConsoleAppWhenConsoleAppIsChanged 9.808 s
willReleaseAllWhenBomIsChanged 10.34 s
willReleaseAllButBomWhenParentIsChanged 10.18 s

MavenCompatibilityTest

- 0 s
- got: "true", expected: null -

PartialReleaseTest

buildsAndInstallsAndTagsAllModules 6.951 s
thePomChangesAreRevertedAfterTheRelease 4.174 s
whenNoChangesHaveBeenDetectedTheRequestedModuleIsBuiltAnyway 7.595 s

InheritedVersionsTest

buildsAndInstallsAndTagsAllModules 8.705 s
thePomChangesAreRevertedAfterTheRelease 4.088 s

TestRunningTest

ifTestsAreSkippedYouCanReleaseWithoutRunningThem 3.714 s
doesNotReleaseIfThereAreTestFailuresButTagsAreStillWritten 3.735 s

VersionNamerTest

ifTheBuildNumberIsNullButThereIsAPreviousBuildNumbersThenThatValueIsIncremented 0 s
ifTheBuildNumberIsNullAndThePreviousBuildNumbersIsEmptyListThenZeroIsUsed 0 s
throwsIfTheVersionWouldNotBeAValidGitTag 0 s
addsTheBuildWithADash 0 s
removesTheSnapshotAndSticksTheBuildNumberOnTheEnd 0 s
getterReturnsDefinedOrDefaultDelimiter 0 s

BaseMojoTest

configureJsch_PomIdentityFile 0.084 s
configureJsch_SshAgentDisabled 0 s
configureJsch_SettingsIdentityFile 0.001 s
configureJsch_CustomKnownHosts 0.001 s
configureJsch_CustomIdentityOverridesPom 0.001 s
configureJsch_ServerIdDoesNotExist 0.001 s
configureJsch_CustomPassphraseOverridesPom 0 s

NestedModulesTest

buildsAndInstallsAndTagsAllModules 29.67 s
thePomChangesAreRevertedAfterTheRelease 4.992 s

ExecutionTest

profilesPassedToTheReleaseExecutionArePassedOnToTheDeployment 4.034 s
argumentsCanBePassed 4.123 s
mvn_optionsEnvVarIsPassedToExecution 4.055 s
envVarsAreInherited 4.043 s
userAndGlobalSettingsCanBeOverwrittenWithStandardMavenCommandLineParameters 3.657 s
profilesNotPassedToTheReleaseExecutionAreNotPassedOnToTheDeploymentButConfiguredProfilesAre 3.690 s

HelpTest

runningTheHelpMojoTellsYouAboutThePlugin 1.316 s
canShowInformationAboutTheReleaseGoal 1.315 s

NextMojoTest

changesInTheRootAreDetected 5.605 s
doesNotReReleaseAModuleThatHasNotChanged 5.972 s
ifADependencyHasNotChangedButSomethingItDependsOnHasChangedThenTheDependencyIsReReleased 5.917 s
ifThereHaveBeenNoChangesCanOptToReleaseNoModules 6.107 s
ifThereHaveBeenNoChangesThenReReleaseAllModules 5.882 s

ReactorTest

ifNotFoundThenAUnresolvedSnapshotDependencyExceptionIsThrown 0 s
returnsTheLatestTagIfThereAreChanges 0 s
findOrReturnNullReturnsNullIfNotFound 0 s
canFindModulesByGroupAndArtifactName 0 s

ReleaseInvokerTest

runMavenBuild_BaseTest 0.771 s
runMavenBuild_WithReleasableModule 0.001 s
runMavenBuild_WithUserSettings 0.002 s
runMavenBuild_UserImplicitlyWantsThisToBeReleased 0.003 s
runMavenBuild_WithGoals 0.002 s
runMavenBuild_WithActiveProfiles 0.002 s
runMavenBuild_WithGlobalSettings 0.002 s
runMavenBuild_UserImplicitlyWantsThisToBeReleased_WillNotBeReleased 0.003 s
runMavenBuild_ErrorExitCode 0.002 s
verifyDefaultConstructor 0.001 s
runMavenBuild_InvocationFailed 0.003 s
runMavenBuild_UserExplicitlyWantsThisToBeReleased 0.002 s
skipTests 0.003 s

SkippingUnchangedModulesTest

changesInTheRootAreDetected 7.974 s
ifThereHaveBeenNoChangesThenCanOptToFailTheBuild 6.082 s
doesNotReReleaseAModuleThatHasNotChanged 7.686 s
ifADependencyHasNotChangedButSomethingItDependsOnHasChangedThenTheDependencyIsReReleased 8.321 s
ifThereHaveBeenNoChangesThenCanOptNotToReleaseAnything 6.132 s
ifThereHaveBeenNoChangesThenReReleaseAllModules 8.468 s
ifThereHaveBeenNoChangesButArtifactsCannotBeResolvedThenReleaseIsForcedForTheseArtifacts 10.48 s

LocalPluginTest

runWithLocalPluginSnapshotDependencyShouldSucceed 4.220 s
runWithSnapshotPluginDependencyShouldFail 1.684 s

BomDependencyTest

willReleaseConsoleAppAndCoreUtilsWhenCoreUtilsIsChanged 8.065 s
willReleaseOnlyConsoleAppWhenConsoleAppIsChanged 7.865 s
willReleaseAllWhenBomIsChanged 8.344 s
willReleaseAllButBomWhenParentIsChanged 8.158 s

ValidationTest

ifAReleaseTagAlreadyExistsInTheRemoteRepoThenItErrorsEarly 1.628 s
failsIfThereAreDependenciesOnSnapshotVersionsThatAreNotPartOfTheReactor 6.270 s
failsIfThereAreDependenciesOnSnapshotVersionsWithVersionPropertiesThatAreNotPartOfTheReactor 6.254 s
failsIfThereAreUntrackedFiles 1.560 s
passIfThereAreUntrackedFilesWhichAreAddedToUntrackedConfiguration 3.983 s
ifIOErrorOccursWhileUpdatingPomsThenThisIsReported 1.706 s
ifTheSameVersionIsReleasedTwiceItErrorsLoudly 5.735 s
failsIfThereAreUncommittedFiles 1.553 s

AnnotatedTagFinderTest

respectDelimiterWhenExtractingBuildNumber 0 s
returnsMultipleTagsOnASingleCommit 0.061 s
returnsOnlyTagsOfCurrentBranch 0.049 s
canRecogniseTagsThatArePotentiallyOfTheSameVersion 0 s
versionNamerCaresNotForOrderOfTags 0 s
findsTheLatestCommitWhereThereHaveBeenNoBranches 0.073 s

SingleModuleTest

canUpdateSnapshotVersionToReleaseVersionAndInstallToLocalRepo 5.600 s
thePomChangesAreRevertedAfterTheRelease 4.032 s
originTagsNotConsultedWithoutPull 7.564 s
theBuildNumberIsOptionalAndWillStartAt0AndThenIncrementTakingIntoAccountLocalAndRemoteTags 15.14 s
theLocalAndRemoteGitReposAreTaggedWithTheModuleNameAndVersion 4.079 s
onlyLocalGitRepoIsTaggedWithTheModuleNameAndVersionWithoutPush 3.860 s

DifferentDelimiterTest

canUpdateSnapshotVersionToReleaseVersionAndInstallToLocalRepo 5.302 s

AnnotatedTagTest

ifATagIsSavedWithoutJsonThenTheVersionIsSetTo0Dot0 0.025 s
gettersReturnValuesPassedIn 0 s
aTagCanBeCreatedFromAGitTag 0.026 s

Failure Details

[Summary] [Package List] [Test Cases]


- skipped: got: "true", expected: null
- skipped: got: "true", expected: null