Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/callable.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ jobs:
cache-write-only: true
- name: Run build (incl. test)
run: ./gradlew build -x intTest --no-daemon

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
6 changes: 6 additions & 0 deletions .github/workflows/callable.integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ jobs:

- name: Run integration tests
run: ./gradlew intTest -x test --no-daemon

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package dev.thriving.oss.java.library.template;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;
Expand All @@ -17,4 +18,17 @@ void toFunkyCase() {
// then
assertEquals("hElLo wOrLd!!!", output);
}

@Test
@Disabled // was introduced to verify the 'junit test report' output in CI/CD pipeline results
void toFunkyCaseDisabled() {
// given
String input = "hello world!!!";

// when
String output = JavaLibraryTemplate.toFunkyCase(input);

// then
assertEquals("hElLo wOrLd!!!", output);
}
}