506 project
This project users spring boot and maven to build and deploy.
Current requirments are:
- java 1.8 (jdk not jre)
- eclipse or spring tool suite
- local tomcat 8 server set up in eclipse
To run and deploy simply use mvn spring-boot:run or use a maven build with a goal listed as spring-boot:run
Navagate to localhost:8080/ to view the first iteration landing page
##Launching Application:
#Via Eclipse:
- import project into eclipse (file>import>git and add the above link to path)
- Checkout Iteration2 branch
- Right click project directory and select Run As..>Maven Build… (notice the …)
- In Goals add “springboot:run” and select apply
- Open browser and go to localhost:8080/dashboard for main dashboard page
#Run in terminal on MAC
- install homebrew: http://brew.sh/
- open command line and run 'brew install maven'
- go to project root directory and run: mvn spring-boot:run
##JUnit Testing build tests with @Test reference use values like assertNotNull() to check return values of functions run specific tests in eclipse by going to run->run as-> JUnit Test should show test report
##Code Coverage Tool
- Used EclEmma inside eclipese: http://eclemma.org
- Downloaded using Install New software tool inside eclipse
- Clicked coverage run on tool bar
- Selected "Run all tests in the selected project, package or source folder
- Added directory: src/test/java/com.ffa package
- Select Coverage
##Test User Credentials We have created 12 test users that you may use to test the applications.
Login credentials are:
email: team1@wisc.edu
password: password
And incrementing like:
email: team2@wisc.edu
password: password
......
email: team12@wisc.edu
password: password