Changes for page Docker-based Testing
Last modified by Vincent Massol on 2024/03/12 17:22
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. ThomasMortagne1 +xwiki:XWiki.VincentMassol - Content
-
... ... @@ -7,7 +7,7 @@ 7 7 * Based on [[TestContainers>>https://www.testcontainers.org/]] and uses Docker to execute the tests under various Databases, Servlet Engines and Browsers. 8 8 ** [[Introductory talk about TestContainers and XWiki at Devoxx FR 2019>>https://youtu.be/0TvWv4L_IJM]] (In French) 9 9 * The only requirements for running these tests is to have Docker installed locally and to have the user under which you run your IDE and the Maven build be able to use the docker executable. 10 -* Tests get injected ##XWikiWebDriver## and##TestUtils## instances as test method parameters.10 +* Tests get injected ##XWikiWebDriver##, ##TestUtils##, ##TestInfo## and ##TestReference## instances as test method parameters. 11 11 * Test results is recording in a FLV file in the ##target## directory. 12 12 * A screenshot of the UI when the test is failing is also taken in the ##target## directory. 13 13 * When test execute it's possible to connect to the running VNC server and see the UI by using a VNC client and connect to the VNC URL printed in the console, e.g. ##vnc:~/~/vnc:secret@localhost:32936##.