Online Library
Manual Test Plan
Table of Contents
Environment Setup
Django:
- See GoodReadsLibrary/requirements.txt
React:
- See GoodReadsLibrary/react-frontend/package.json
OS:
- Windows 10
Run Server
Run Django:
py GoodReadsLibrary/manage.py runserver
Run React:
cd GoodReadsLibrary/react-frontend
npm start
Test GET
Test 1.1 Search Valid Book
«««< HEAD
Result: showing the correct book
Test 1.2 Search Invalid Book
Result: showing blank page
Test 1.3 Get Book Info
Result: showing book info in the right side of the page
Test 1.4 Search Valid Author
Result: showing the correct author
Test 1.5 Search Invalid Author
Result: showing blank page
Test 1.6 Get Author Info
Result: showing author info in the right side of the page
Test PUT
Test 2.1 Update a book
«««< HEAD
Result: Successfully update
Test 2.2 Update a book - missing fields
Result: Update failed
Test 2.3 Update an author
Result: Successfully update
Test 2.4 Update an author - missing fields
Result: Update failed
Test POST
Test 3.1 Add a book
«««< HEAD
Result: Successfully Add
Test 3.2 Add a book - missing fields
Result: Add failed
Test 3.3 Add a book - duplicate id
Result: Add failed
Test 3.4 Add an author
Result: Successfully Add
Test 3.5 Add an author - missing fields
Result: Add failed
Test 3.6 Add an author - duplicate id
Result: Add failed
Test DELETE
Test 4.1 delete a book
click the “Delete button”
Result: Successfully Delete
Test 4.2 delete an author
click the “Delete button”
Result: Successfully Delete
Test Ranking
Test 5.1 Test Book Ranking - Top 3
«««< HEAD
Result: Successfully render the bar chart
Test 5.2 Test Book Ranking - Top 8
Result: Successfully render the bar chart
Test 5.3 Test Author Ranking - Top 3
Result: Successfully render the bar chart
Test 5.4 Test Author Ranking - Top 8
Result: Successfully render the bar chart
Test Phone Screen
Test 6.1 Test Navigation Bar
«««< HEAD
Result: Collapse to fit the screen
Test 6.2 Test Book Page
Result: fit the screen
Test 6.3 Test Add Book Page
Result: fit the screen
Test 6.4 Test Author Page
Result: fit the screen
Test 6.5 Test Add Author Page
Result: fit the screen
Test 6.6 Test Book Ranking Page
Result: fit the screen
Test 6.7 Test Author Ranking Page
Result: fit the screen