Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce setting to disable annotations for checks #1024

Merged
merged 1 commit into from
Jan 29, 2024

- introduce new setting to disable annotations for checks

21fada7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Introduce setting to disable annotations for checks #1024

- introduce new setting to disable annotations for checks
21fada7
Select commit
Loading
Failed to load commit list.
GitHub Actions / Example Multi JUnit Test Report failed Jan 28, 2024 in 0s

17 tests run, 5 passed, 1 skipped, 11 failed.

Application (src/applications)
multi test

Annotations

Check failure on line 39 in test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| shouldNotContainInternationalizedHostNames

Invalid email address 'user@ñandú.com.ar'
Raw output
action.surefire.report.email.InvalidEmailAddressException: Invalid email address 'user@ñandú.com.ar'
	at action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:74)
	at action.surefire.report.email.EmailAddressTest.shouldNotContainInternationalizedHostNames(EmailAddressTest.java:39)

Check failure on line 49 in test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| shouldBeStricterThanRfc2821

Invalid email address  'Abc\@[email protected]'
Raw output
action.surefire.report.email.InvalidEmailAddressException: Invalid email address 'Abc\@[email protected]'
	at action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:74)
	at action.surefire.report.email.EmailAddressTest.shouldBeStricterThanRfc2821(EmailAddressTest.java:49) 
  

Check failure on line 57 in test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| shouldBeStricterThanRfc2822

Address [email protected] should have thrown InvalidEmailAddressException
Raw output
java.lang.AssertionError: Address [email protected] should have thrown InvalidEmailAddressException
	at action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:75)
	at action.surefire.report.email.EmailAddressTest.shouldBeStricterThanRfc2822(EmailAddressTest.java:57)

Check failure on line 18 in test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| shouldNotBeBlank

Email address must not be null, empty, or blanks
Raw output
action.surefire.report.email.InvalidEmailAddressException: Email address must not be null, empty, or blanks
	at action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:74)
	at action.surefire.report.email.EmailAddressTest.shouldNotBeBlank(EmailAddressTest.java:18)

Check failure on line 32 in test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| shouldNotContainLocalHosts

Invalid email address 'user@host'
Raw output
action.surefire.report.email.InvalidEmailAddressException: Invalid email address 'user@host'
	at action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:74)
	at action.surefire.report.email.EmailAddressTest.shouldNotContainLocalHosts(EmailAddressTest.java:32)

Check failure on line 25 in test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| shouldNotMissComponents

Address [email protected] should have thrown InvalidEmailAddressException
Raw output
java.lang.AssertionError: Address [email protected] should have thrown InvalidEmailAddressException
	at action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:75)
	at action.surefire.report.email.EmailAddressTest.shouldNotMissComponents(EmailAddressTest.java:25)

Check failure on line 66 in test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| shouldNotAllowDotsInWeirdPlaces

Invalid email address '[email protected]'
Raw output
action.surefire.report.email.InvalidEmailAddressException: Invalid email address '[email protected]'
	at action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:74)
	at action.surefire.report.email.EmailAddressTest.shouldNotAllowDotsInWeirdPlaces(EmailAddressTest.java:66)

Check failure on line 27 in test_results/tests/utils/src/test/java/action/surefire/report/calc/CalcUtilsTest.kt

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| test error handling

unexpected exception type thrown; expected:<java.lang.IllegalStateException> but was:<java.lang.IllegalArgumentException>
Raw output
java.lang.AssertionError: unexpected exception type thrown; expected:<java.lang.IllegalStateException> but was:<java.lang.IllegalArgumentException>
	at action.surefire.report.calc.CalcUtilsTest.test error handling(CalcUtilsTest.kt:27)
Caused by: java.lang.IllegalArgumentException: Amount must have max 2 non-zero decimal places
	at action.surefire.report.calc.CalcUtilsTest.scale(CalcUtilsTest.kt:31)
	at action.surefire.report.calc.CalcUtilsTest.access$scale(CalcUtilsTest.kt:9)
	at action.surefire.report.calc.CalcUtilsTest.test error handling(CalcUtilsTest.kt:27)

Check failure on line 15 in test_results/tests/utils/src/test/java/action/surefire/report/calc/CalcUtilsTest.kt

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| test scale

Expected: <100.10>
     but: was <100.11>
Raw output
java.lang.AssertionError: 

Expected: <100.10>
     but: was <100.11>
	at action.surefire.report.calc.CalcUtilsTest.test scale(CalcUtilsTest.kt:15)

Check failure on line 27 in test_results/tests/utils/src/test/java/action/surefire/report/calc/StringUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| require_fail

Expected: (an instance of java.lang.IllegalArgumentException and exception with message a string containing "This is unexpected")
     but: exception with message a string containing "This is unexpected" message was "Input='' didn't match condition."
Stacktrace was: java.lang.IllegalArgumentException: Input='' didn't match condition.
	at action.surefire.report.calc.StringUtils.requireNotBlank(StringUtils.java:25)
	at action.surefire.report.calc.StringUtils.requireNotBlank(StringUtils.java:18)
	at action.surefire.report.calc.StringUtilsTest.require_fail(StringUtilsTest.java:27)
	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.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258)
	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:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Raw output
java.lang.AssertionError: 

Expected: (an instance of java.lang.IllegalArgumentException and exception with message a string containing "This is unexpected")
     but: exception with message a string containing "This is unexpected" message was "Input='' didn't match condition."
Stacktrace was: java.lang.IllegalArgumentException: Input='' didn't match condition.
	at action.surefire.report.calc.StringUtils.requireNotBlank(StringUtils.java:25)
	at action.surefire.report.calc.StringUtils.requireNotBlank(StringUtils.java:18)
	at action.surefire.report.calc.StringUtilsTest.require_fail(StringUtilsTest.java:27)
	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.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258)
	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:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Check failure on line 20 in test_results/tests/utils/src/test/java/action/surefire/report/calc/StringUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / Example Multi JUnit Test Report

| require

java.lang.AssertionError
	at action.surefire.report.calc.StringUtilsTest.require(StringUtilsTest.java:20)
Raw output
java.lang.AssertionError
	at action.surefire.report.calc.StringUtilsTest.require(StringUtilsTest.java:20)