Skip to content

add junitxml to test options #15

add junitxml to test options

add junitxml to test options #15

GitHub Actions / Tests succeeded Aug 29, 2023 in 1s

Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.EventConsumerSpec.xml 6✅ 5s
football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec.xml 4✅ 28ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.DismissalSpec.xml 1✅ 571ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.GoalSpec.xml 5✅ 5ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.MatchPhaseEventSpec.xml 5✅ 10ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.ScoreSpec.xml 5✅ 4ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec.xml 1✅ 2ms

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.EventConsumerSpec.xml

6 tests were completed in 5s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.lib.EventConsumerSpec 6✅ 5s

✅ com.gu.mobile.notifications.football.lib.EventConsumerSpec

✅ An EventConsumer should::generate a kick-off notification
✅ An EventConsumer should::generate half-time notification
✅ An EventConsumer should::generate second half start notification
✅ An EventConsumer should::generate full time notification
✅ An EventConsumer should::generate goal notifications from FootballMatchStatusPayload
✅ An EventConsumer should::generate red card notifications from FootballMatchStatusPayload

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec.xml

4 tests were completed in 28ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec 4✅ 28ms

✅ com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec

✅ A SyntheticMatchEvent generator should::Add id to first timeline event
✅ A SyntheticMatchEvent generator should::Add half-time event if status is HT
✅ A SyntheticMatchEvent generator should::Add second-half event if status is SHS
✅ A SyntheticMatchEvent generator should::Add full-time event if match is result

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.DismissalSpec.xml

1 tests were completed in 571ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.DismissalSpec 1✅ 571ms

✅ com.gu.mobile.notifications.football.models.DismissalSpec

✅ MatchPhaseEvent should::Create a Dismissal event

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.GoalSpec.xml

5 tests were completed in 5ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.GoalSpec 5✅ 5ms

✅ com.gu.mobile.notifications.football.models.GoalSpec

✅ A Goal should::Create a normal goal (home)
✅ A Goal should::Create a normal goal (away)
✅ A Goal should::Create a normal goal in extra time
✅ A Goal should::Create an own goal
✅ A Goal should::Create a penalty

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.MatchPhaseEventSpec.xml

5 tests were completed in 10ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.MatchPhaseEventSpec 5✅ 10ms

✅ com.gu.mobile.notifications.football.models.MatchPhaseEventSpec

✅ MatchPhaseEvent should::Create a Kickoff event from timeline event 0:00
✅ MatchPhaseEvent should::Return none event for timeline event 0:01
✅ MatchPhaseEvent should::Create a fulltime event from full-time
✅ MatchPhaseEvent should::Create a halftime event from half-time
✅ MatchPhaseEvent should::Create a secondhalf event from second-half

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.ScoreSpec.xml

5 tests were completed in 4ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.ScoreSpec 5✅ 4ms

✅ com.gu.mobile.notifications.football.models.ScoreSpec

✅ Score should::calculate correct score for normal goals
✅ Score should::calculate correct score with home own-goal
✅ Score should::calculate correct score with away own-goal
✅ Score should::calculate correct score with home penalty
✅ Score should::calculate correct score with away penalty

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec 1✅ 2ms

✅ com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec

✅ A MatchStatusNotificationBuilder should::Build a notification