-
Notifications
You must be signed in to change notification settings - Fork 3
Rest Services Integration Tests
Tasks implemented:
- Clear the data base to avoid errors while generating tables (i.e. duplicated unique IDs).
- Create all initial dependencies (i.e. GroceryStoreApplication).
- Test all RESTful components all together to simulate a fully functional application.
- Detailed list of individual smoke tests of every REST controller method available below.
Endpoint: https://groceryapplication-backend-l.herokuapp.com/address/
Parameters: id, StreetName, Province, City, Country, postalCode, store, order, customer
Endpoint: https://groceryapplication-backend-l.herokuapp.com/address/{id}
Parameters: none
Endpoint: https://groceryapplication-backend-l.herokuapp.com/address/{id}
Parameters: id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryApplication/
Parameters: id, order, product, store, category, userRole
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryApplication/{id}
Parameters: none
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryApplication/{id}
Parameters: id, order, product, store, category, userRole
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryApplication/{id}
Parameters: id, order, product, store, category, userRole
Endpoint: https://groceryapplication-backend-l.herokuapp.com/category/{id}
Parameters: name, description, image, id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/category/{id}
Parameters: name, description, image, id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/category/{id}
Parameters: name, description, image, id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/category/{id}
Parameters: none
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryUser/
Parameters: dateOfBirth, username, password, firstName, lastName, email
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryUser/{email}
Parameters: email
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryUser/{email}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/groceryUser/{email}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/product/
Parameters: image, description, price, image, weight, volume, barcode, availableQuantity, availability, refundable
Endpoint: https://groceryapplication-backend-l.herokuapp.com/product/{id}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/product/{id}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/product/{id}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/product/{id}
Parameters: image, description, price, image, weight, volume, barcode, availableQuantity, availability, refundable
Endpoint: https://groceryapplication-backend-l.herokuapp.com/employee/
Parameters: hiredDate, employeeStatus, hourlyPay, email, groceryStoreApplication
Endpoint: https://groceryapplication-backend-l.herokuapp.com/employee/{id}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/employee/{id}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/employee/{id}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/employee/{id}
Parameters: hiredDate, employeeStatus, hourlyPay, email, groceryStoreApplication
Endpoint: https://groceryapplication-backend-l.herokuapp.com/store/
Parameters: name, weekDayOpening, weekDayClosing, weekEndOpening, weekEndClosing, weekEndOpening, address, applicationId
Endpoint: https://groceryapplication-backend-l.herokuapp.com/store/{name}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/store/{name}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/store/{name}
Parameters:
Endpoint: https://groceryapplication-backend-l.herokuapp.com/store/{name}
Parameters: name, weekDayOpening, weekDayClosing, weekEndOpening, weekEndClosing, weekEndOpening, address, applicationId
Endpoint: https://groceryapplication-backend-l.herokuapp.com/shift/
Parameters: day, shiftType, employee
Endpoint: https://groceryapplication-backend-l.herokuapp.com/shift/{id}
Parameters: id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/shift/{id}
Parameters: id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/shift/{id}
Parameters: id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/shift/{id}
Parameters: day, shift, employee
Endpoint: https://groceryapplication-backend-l.herokuapp.com/order/ Parameters: applicationId, status, datePlaced, deliveryDate, customerNote, purchaseType
Endpoint: https://groceryapplication-backend-l.herokuapp.com/order/{id} Parameters: id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/order/{id} Parameters: id
Endpoint: https://groceryapplication-backend-l.herokuapp.com/order/{id} Parameters: status, id