Uploaded image for project: 'Build'
  1. Build
  2. BUILD-617

Test the ChangelogService

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      For instance:

          @Test
          void isInChangelogGroup() throws Exception {
              // GIVEN
              String jql = IOUtils.toString(getClass().getResourceAsStream("/jql.txt"), StandardCharsets.UTF_8); // real world changelog example
              String snapshotVersion = "6.2.12-SNAPSHOT";
      
              // WHEN - THEN
              assertTrue(jiraService.isInChangelogGroup(jql, "MGNLCE", snapshotVersion));
              assertTrue(jiraService.isInChangelogGroup(jql, "MGNLEE", snapshotVersion));
              assertTrue(jiraService.isInChangelogGroup(jql, "MGNLUI", snapshotVersion));
          } 

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              mmichel Maxime Michel
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: