A sample application that tests and demonstrates the integration of mojito and YAF
This app is tested using Arrow and Selenium.
-
Install Arrow and Selenium
-
Run Selenium server from command line #1:
Firefox: java -Dwebdriver.firefox.profile=default -jar /usr/local/src/selenium/selenium-server-standalone-2.25.0.jar
Chrome: java -Dwebdriver.chrome.profile=default -jar /usr/local/src/selenium/selenium-server-standalone-2.25.0.jar
-
Run Arrow server from command line #2:
arrow_server
-
cd to 'tests' directory from command line #3:
cd /tests
-
Run tests from command line #3:
arrow yaf_mojito_descriptor.json --driver=selenium
-
Repeat Step #5 to repeat tests.
These directories contain the following content:
lib: The core mojito-yaf functionality.
mojito-pnm: The PhotosNearMe application as a minimal 'straight' Mojito application.
photosnearme: The PhotosNearMe application as a Mojito-YAF application.
tests: Tests for the core mojito-yaf functionality.