Review style of class html reports #516
GitHub Actions / test-result-UT
failed
Aug 5, 2024 in 0s
88 tests run, 85 passed, 2 skipped, 1 failed.
Annotations
Check failure on line 58 in net/QACoverTest/Translated/Test4giis.Qacover.Model/TestReport.cs
github-actions / test-result-UT
TestReport.testReports
There are 1 failed assertion(s)
Aggregated visual diffs at: target/diff-IntegratedTestReaderAndReport.html
Failure 1: Strings are different. First diff at line 141 column 94.
at className: AppSimpleJdbc3Errors.html.
- Visual diffs at: target/diff-0.html
- Call Stack:
at test4giis.qacover.model.TestReport.assertReports(TestReport.java:232)
at test4giis.qacover.model.TestReport.testReports(TestReport.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2) expected:<...: ApiException{code=[0, responseHeaders=null, responseBody='null]'}</span>
</...> but was:<...: ApiException{code=[404, responseHeaders={Server=[nginx], Connection=[keep-alive], Content-Length=[146], Date=[Mon, 05 Aug 2024 09:42:47 GMT], Content-Type=[text/html]}, responseBody='<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
]'}</span>
</...>
Raw output
org.junit.ComparisonFailure:
There are 1 failed assertion(s)
Aggregated visual diffs at: target/diff-IntegratedTestReaderAndReport.html
Failure 1: Strings are different. First diff at line 141 column 94.
at className: AppSimpleJdbc3Errors.html.
- Visual diffs at: target/diff-0.html
- Call Stack:
at test4giis.qacover.model.TestReport.assertReports(TestReport.java:232)
at test4giis.qacover.model.TestReport.testReports(TestReport.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2) expected:<...: ApiException{code=[0, responseHeaders=null, responseBody='null]'}</span>
</...> but was:<...: ApiException{code=[404, responseHeaders={Server=[nginx], Connection=[keep-alive], Content-Length=[146], Date=[Mon, 05 Aug 2024 09:42:47 GMT], Content-Type=[text/html]}, responseBody='<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
]'}</span>
</...>
at org.junit.Assert.assertEquals(Assert.java:117)
at giis.visualassert.FrameworkAssert.failNotEquals(FrameworkAssert.java:25)
at giis.visualassert.SoftVisualAssert.assertAll(SoftVisualAssert.java:120)
at test4giis.qacover.model.TestReport.tearDown(TestReport.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Loading