Modify this document to expand any and all sections that are applicable for a better understanding from your users/testers/collaborators (remove this comment and other instructions areas for your FINAL release)
An online E-store system built in Java 8=>11 and Spring Tools 4.16
- Christin
- Hritish Mahajan
- Sohan Saimbhi
- Syed Basit Hussain
- Eslam Tarrum
- Java 8=>11 (Make sure to have correct JAVA_HOME setup in your environment)
- Maven
- Spring Boot
- Clone the repository and go to the root directory.
- Execute
mvn compile exec:java
- Open in your browser
http://localhost:8080/
- add any other steps required or examples of how to use/run
(It may be the case that your implementation is not perfect.)
Document any known bug or nuisance. If any shortcomings, make clear what these are and where they are located.
The Maven build script provides hooks for run unit tests and generate code coverage reports in HTML.
To run tests on all tiers together do this:
- Execute
mvn clean test jacoco:report
- Open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/index.html
To run tests on a single tier do this:
- Execute
mvn clean test-compile surefire:test@tier jacoco:report@tier
wheretier
is one ofcontroller
,model
,persistence
- Open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/{controller, model, persistence}/index.html
To run tests on all the tiers in isolation do this:
- Execute
mvn exec:exec@tests-and-coverage
- To view the Controller tier tests open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/model/index.html
- To view the Model tier tests open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/model/index.html
- To view the Persistence tier tests open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/model/index.html
*(Consider using mvn clean verify
to attest you have reached the target threshold for coverage)
- Access the
PROJECT_DOCS_HOME/
directory - Execute
mvn exec:exec@docs
- The generated PDF will be in
PROJECT_DOCS_HOME/
directory
- Tester, first obtain the Acceptance Test plan
- IP address of target machine running the app
- Execute ________
- ...
- ...
MIT License
See LICENSE for details.