##How to install and setup the app.
-
There is some required software in order to setup this project. Ensure you have Eclipse along with the Google App Engine and EGit plugins installed. Instructions for installing the GAE plugin for Eclipse can be found here: https://cloud.google.com/appengine/docs/java/tools/eclipse
-
In order to add the project to Eclipse, go to File -> Import and under Git select Projects from Git.
-
Enter the following url to clone the repository: https://github.com/mcmathews/CSE-360-Digital-Scrapbook.git
-
Add all of the jars in /war/WEB-INF/lib directory to the build path.
-
Ensure the proper src directory is set as the project source directory (which would be /src).
-
Ensure under Project properties -> Google, Use App Engine is checked.
-
You should be good to go!
============================
##Running Tests
###Unit Tests
Once the app is set up in eclipse, the JUnit tests can be run through the Eclipse. Running the AllTests.java test suite will run all the unit tests.
###Functional Tests
- The Functional Tests we're written using Selenium IDE, so this plugin is required for Firefox to run the tests.
- In Firefox, make sure to log out of all Google Services before continuing.
- In Firefox, go to http://accounts.google.com and sign in with the username: [email protected] and the password: mUOkM9$#3c6P8KMXRAWP&59r!JcMQoSaEYWF
- Then log out of Google.
- Now open Selenium IDE
- Open the test suite in the project folder in /war/tests/FunctionalTestSuite.html
- Make sure to set the slider in the top left corner of the Selenium IDE to "Slow"
- Run the Suite.