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 Details

    • SemverBuildVarsGitHubActionTest

      SemverBuildVarsGitHubActionTest()
  • Method Details

    • setUp

      @BeforeEach void setUp() throws Exception
      Throws:
      Exception
    • whenGetInputPackageVersion_thenReturnValue

      @Test void whenGetInputPackageVersion_thenReturnValue() throws Exception
      Test method.
      Throws:
      Exception
    • whenGetInputPackageVersionWithPrefix_thenReturnValue

      @Test void whenGetInputPackageVersionWithPrefix_thenReturnValue() throws Exception
      Test method.
      Throws:
      Exception
    • whenGetInputPackageVersionNotProvided_thenThrowNoSuchElementException

      @Test void whenGetInputPackageVersionNotProvided_thenThrowNoSuchElementException()
      Test method.
    • whenGetSemverVersion_thenReturnValidVersion

      @Test void whenGetSemverVersion_thenReturnValidVersion() throws Exception
      Test method.
      Throws:
      Exception
    • whenGetSemverVersionInvalid_thenThrowIllegalArgumentException

      @Test void whenGetSemverVersionInvalid_thenThrowIllegalArgumentException() throws Exception
      Test method.
      Throws:
      Exception
    • whenGetSemverVersionNull_thenThrowNullPointerException

      @Test void whenGetSemverVersionNull_thenThrowNullPointerException() throws Exception
      Test method.
      Throws:
      Exception
    • whenGetCurrentTimestamp_thenReturnValue

      @Test void whenGetCurrentTimestamp_thenReturnValue() throws Exception
      Test method.
      Throws:
      Exception
    • whenExecute_thenReturnValidValues

      @Test void whenExecute_thenReturnValidValues() throws Exception
      Test method.
      Throws:
      Exception
    • whenExecuteWithError_thenThrowCompletionException

      @Test void whenExecuteWithError_thenThrowCompletionException() throws Exception
      Test method.
      Throws:
      Exception