An example of using scenarioo together with SWTBot to test and document a sample eclipse RCP e4 application
The UI tests and the Scenarioo integration can be found in the folder plugins/org.scenarioo.example.e4.test/src/org/scenarioo/example/e4
.
Make sure you have JDK 7 or newer installed.
Execute the shell script: start-tycho-build.sh This command will build the full eclipse rcp product and execute the UI SwtBot tests. Limitation: The SWTBot tests run correctly on a linux machine. We know that Windows does not work. Mac OS might work.
In the folder org.scenarioo.example.e4.product/target you will find the builded eclipse e4 application. You can start it you and you will see the application works how it is document with scenarioo.