1
stars
0
forks
source link
SQE_JTspringBoot_Project
Introduction : This is an ecommerce application.
Instructions :
- Clone the repository in your intellij locally
- Integrate Database connectivity - using mySQL workbench or dbeaver
- Run the database schema (basedata.sql) to make the tables
- Make sure you have database navigator plugins and spring boot enabled
- Open pom.xml as a Project in your intellij
Changes made:
- change line 240 to executeQuery() to run the application - admincontroller.java
- The password for the DB was changed according to the root password - application.properties
- Line 234 username class was changed to remove errors -admincontroller.java
- Removed "NO_AUTO_CREATE_USER" from the first line in basedata.sql
How to run the tests using command:
- Install mvn if it is not installed in your device (to check this you can open command prompt and run "mvn -v")
- If mvn is istalled in your device, then open the terminal/command prompt in your project directory
- Write "mvn test" and run this on terminal/command prompt
- All the test cases that are present in test folder in project will be executed and result will be displayed on the console.
Group Members:
- Aiza Khurram 21L-5771
- Minaal Khurram 21L-5828
- Aaon Raza 21L-6055
- Tayyab Nadeem 21L-5830