Class GHReleaseTest


public class GHReleaseTest extends AbstractGitHubWireMockTest
The Class GHReleaseTest.
  • Constructor Details

    • GHReleaseTest

      public GHReleaseTest()
      Create default GHReleaseTest instance
  • Method Details

    • testCreateSimpleRelease

      public void testCreateSimpleRelease() throws Exception
      Test create simple release.
      Throws:
      Exception - the exception
    • testCreateSimpleReleaseWithoutDiscussion

      public void testCreateSimpleReleaseWithoutDiscussion() throws Exception
      Test create simple release without discussion.
      Throws:
      Exception - the exception
    • testCreateDoubleReleaseFails

      public void testCreateDoubleReleaseFails() throws Exception
      Test create double release fails.
      Throws:
      Exception - the exception
    • testCreateReleaseWithUnknownCategoryFails

      public void testCreateReleaseWithUnknownCategoryFails() throws Exception
      Test create release with unknown category fails.
      Throws:
      Exception - the exception
    • testUpdateRelease

      public void testUpdateRelease() throws Exception
      Test update release.
      Throws:
      Exception - the exception
    • testDeleteRelease

      public void testDeleteRelease() throws Exception
      Test delete release.
      Throws:
      Exception - the exception
    • testMakeLatestRelease

      public void testMakeLatestRelease() throws Exception
      Test making a release the latest
      Throws:
      Exception - the exception
    • testCreateReleaseWithNotes

      public void testCreateReleaseWithNotes() throws Exception
      Tests creation of the release with `generate_release_notes` parameter on.
      Throws:
      Exception - if any failure has happened.