From version 113.2
edited by Vincent Massol
on 2019/04/03 14:38
To version 114.1
edited by Vincent Massol
on 2019/05/21 09:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -211,7 +211,9 @@
211 211  *** [[xwiki-commons pitest job >>http://ci.xwiki.org/job/xwiki-commons_pitest/]]
212 212  *** [[xwiki-rendering pitest job >>http://ci.xwiki.org/job/xwiki-rendering_pitest/]]
213 213  *** [[xwiki-platform pitest job >>http://ci.xwiki.org/job/xwiki-platform_pitest/]]
214 -* Verify that JUnit tests don't output content to stdout or stderr. Tests are supposed to either configure the code to not output anything or if it's expected then they're supposed to [[catch the logs and assert them>>dev:Community.Testing.JavaUnitTesting.WebHome#HCapturingandAssertingLogs]]. Note that this check is also executing for JUnit5 tests executed in your IDE (if the ##pom.xml## file in the current directory doesn't have the ##xwiki.surefire.captureconsole.skip## Maven property set to true).
214 +* Verify Test output
215 +** Verify that JUnit tests don't output content to stdout or stderr. Tests are supposed to either configure the code to not output anything or if it's expected then they're supposed to [[catch the logs and assert them>>dev:Community.Testing.JavaUnitTesting.WebHome#HCapturingandAssertingLogs]]. Note that this check is also executing for JUnit5 tests executed in your IDE (if the ##pom.xml## file in the current directory doesn't have the ##xwiki.surefire.captureconsole.skip## Maven property set to true).
216 +** Verify that functional tests don't contain errors or warnings when they execute. See [[Docker Tests>>Community.Testing.DockerTesting.WebHome||anchor="HStdout2Fstderrvalidationerrors"]] (for JUnit5) and [[Selenium2 Tests>>Community.Testing.WebHome||anchor="HBestpractices"]] (for JUnit4).
215 215  
216 216  = Tips =
217 217  
XWiki.XWikiComments[0]
Comment
XWiki.XWikiComments[5]
Comment

Get Connected