Changes for page Testing

Last modified by Vincent Massol on 2023/10/26 15:34

<
From version < 163.1 >
edited by Vincent Massol
on 2023/03/22 11:13
To version < 163.3 >
edited by Vincent Massol
on 2023/05/12 18:08
>
Change comment: AllITs -> AllIT

Summary

Details

Page properties
Content
... ... @@ -107,10 +107,10 @@
107 107  
108 108  * Tests are located in ##xwiki-platform## inside the module that they are testing. Note that in the past we were putting functional tests in ##[[xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test>>https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test]]## but we have started to move them inside the specific modules they are testing.
109 109  * Name the tests using ##<prefix>IT.java##.
110 -* Use a ##AllITs.java## test suite to ensure that XWiki is started/stopped only once for all tests in the module:(((
110 +* Use a ##AllIT.java## test suite to ensure that XWiki is started/stopped only once for all tests in the module:(((
111 111  {{code language="java"}}
112 112  @RunWith(PageObjectSuite.class)
113 -public class AllITs
113 +public class AllIT
114 114  {
115 115  }
116 116  {{/code}}

Get Connected