Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
..../magnolia-integration-tests/tests mvn clean install -P ui-tests,jetty6-standalone |
Run only the tests in one class
Code Block | ||||
---|---|---|---|---|
| ||||
..../magnolia-integration-tests/tests mvn clean install -P ui-tests,jetty6-standalone -DfailIfNoTests=false -Dtest=MyTestClass |
(Note that this will also trigger the crawling after the test, it would be nice to figure out a command that runs one class, but does not trigger the crawling.)
Run only one test
Code Block | ||||
---|---|---|---|---|
| ||||
..../magnolia-integration-tests/tests mvn clean install -P ui-tests,jetty6-standalone -DfailIfNoTests=false -Dtest=MyTestClass#myTest |
Manual run
If you want to run the ui tests manually from within your IDE you can start the author and public tests instance with
Code Block | ||||
---|---|---|---|---|
| ||||
..../magnolia-integration-tests/tests mvn clean install -P manual-tests,jetty6-standalone |
Once this is running, then you can simply run or debug with JUnit in your IDE as you would a normal unit test.
Outlook
- Execute tests with different browsers (Firefox, Chrome, Safari, Ie, ...) an different OS's (OSX, Unix, Windows, iOs, ...) simulating different devices (e.g. ipad as well).
...
Overview
Content Tools