Class SemverBuildVarsGitHubActionTest
java.lang.Object
me.julb.applications.github.actions.SemverBuildVarsGitHubActionTest
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
class SemverBuildVarsGitHubActionTest
extends Object
Test class for
SemverBuildVarsGitHubAction class. - Author:
- Julb.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidsetUp()(package private) voidTest method.(package private) voidTest method.(package private) voidTest method.(package private) voidTest method.(package private) voidTest method.(package private) voidTest method.(package private) voidTest method.(package private) voidTest method.(package private) voidTest method.
-
Constructor Details
-
SemverBuildVarsGitHubActionTest
SemverBuildVarsGitHubActionTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
whenGetInputPackageVersion_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputPackageVersionWithPrefix_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputPackageVersionNotProvided_thenThrowNoSuchElementException
@Test void whenGetInputPackageVersionNotProvided_thenThrowNoSuchElementException()Test method. -
whenGetSemverVersion_thenReturnValidVersion
Test method.- Throws:
Exception
-
whenGetSemverVersionInvalid_thenThrowIllegalArgumentException
Test method.- Throws:
Exception
-
whenGetSemverVersionNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenGetCurrentTimestamp_thenReturnValue
Test method.- Throws:
Exception
-
whenExecute_thenReturnValidValues
Test method.- Throws:
Exception
-
whenExecuteWithError_thenThrowCompletionException
Test method.- Throws:
Exception
-