Skip to content

*** both off

*** both off #286

GitHub Actions / JUnit Test Report failed Nov 4, 2024 in 0s

3 tests run, 2 passed, 0 skipped, 1 failed.

false

Annotations

Check failure on line 19 in src/test/java/org/samples/SampleTests.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SampleTests.testWithApprovalTests

expected: <Hello World
> but was: <Bye bye World
>
Raw output
org.opentest4j.AssertionFailedError: 
expected: <Hello World
> but was: <Bye bye World
>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.approvaltests.reporters.AbstractJUnitReporter.assertEquals(AbstractJUnitReporter.java:25)
	at org.approvaltests.reporters.AbstractJUnitReporter.report(AbstractJUnitReporter.java:45)
	at org.approvaltests.reporters.FirstWorkingReporter.report(FirstWorkingReporter.java:21)
	at org.approvaltests.reporters.FirstWorkingReporter.report(FirstWorkingReporter.java:21)
	at org.approvaltests.reporters.FirstWorkingReporter.report(FirstWorkingReporter.java:21)
	at org.approvaltests.approvers.FileApprover.reportFailure(FileApprover.java:51)
	at org.approvaltests.Approvals.verify(Approvals.java:233)
	at org.approvaltests.Approvals.verify(Approvals.java:188)
	at org.approvaltests.Approvals.verify(Approvals.java:196)
	at org.approvaltests.Approvals.verify(Approvals.java:55)
	at org.approvaltests.Approvals.verify(Approvals.java:51)
	at org.samples.SampleTests.testWithApprovalTests(SampleTests.java:19)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)