Search: concept

Last modified by Vincent Massol on 2014/10/21

Results 1 - 4 of 4 Page 1

View Unit Testing

Last modified by Manuel Leduc on 2023/03/06
Rendered document content
Concept This is about writing "unit" tests for code generated by the server-side for the "View" of the MVC model.
Raw document content
{{box cssClass="floatinginfobox" title="**Contents**"}} {{toc/}} {{/box}} = Concept = This is about writing "unit" tests for code generated by the server-side for the "View" of the MVC model.

XWiki Translations Formats

Last modified by Simon Urli on 2020/06/25
Rendered document content
XWiki Page Properties translations are using the same concepts as the XWiki Java Properties except that the translations are not placed in .properties file, but inside the content of an XWiki document that contains a specific XWiki object.
Raw document content
XWiki Page Properties translations are using the same concepts as the [[XWiki Java Properties>>||anchor="HXWikiJavaProperties"]] except that the translations are not placed in ##.properties## file, but inside the content of an XWiki document that contains a specific XWiki object.

Building XWiki from sources

Last modified by Vincent Massol on 2024/05/23
Rendered document content
Here is an example of the minimum maven builds one should run to check a small change in xwiki-platform-flamingo-skin-resources: mvn clean install -f xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources -Pquality mvn clean install -f xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test -Pintegration-tests,docker The changes are related to the concept of panels, so we also build mvn clean install -f xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-test -Pintegration-tests,docker If you're creating a Pull Request (PR), make sure you keep a written records of what tests you ran and to indicate them in the dedicated section of the PR template that must be filled up with details about the builds ran and the tests passed.
Raw document content
Since these 2 projects contain libraries that are independent of the concept of wikis, this makes it very easy for everyone to use them in their own projects.
The changes are related to the concept of panels, so we also build ##mvn clean install -f xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-test -Pintegration-tests,docker## If you're creating a Pull Request (PR), make sure you keep a written records of what tests you ran and to indicate them in the dedicated section of the PR template that must be filled up with details about the builds ran and the tests passed

Docker-based Testing

Last modified by Marius Dumitru Florea on 2024/07/05
Raw document content
{{/version}} = Examples = == Full Examples == * {{scm path="xwiki-platform-core/xwiki-platform-menu/xwiki-platform-menu-test/xwiki-platform-menu-test-docker/src/test/it/org/xwiki/menu/test/ui/MenuIT.java"}}MenuIT{{/scm}} * {{scm path="xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-test/xwiki-platform-mail-test-docker/src/test/it/org/xwiki/mail/test/ui/MailIT.java"}}MailIT{{/scm}} == Example 1: Basic test == {{code language="java"}} @UITest public class SeleniumTest { @Test public void test(XWikiWebDriver driver, TestUtils setup) { driver.get("http://xwiki.org"); assertThat(driver.getTitle(), containsString("XWiki - The Advanced Open Source Enterprise and Application Wiki")); driver.findElement(By.linkText("XWiki's concept")).click(); } } {{/code}} == Example 2: Choosing Container + DB + Browser and versions == {{code language="java"}} @UITest(database = Database.MYSQL, databaseTag = "5", servletEngine = ServletEngine.TOMCAT, servletEngineTag = "8", browser = Browser.CHROME) public class MenuIT ...
Page 1
RSS feed for search on [concept]

Get Connected