gabriel-lau / Project_Kavala

A simple python-based maze game by a group of Ngee Ann Polytechnic students to learn about the development lifecycle of DevOps.
0 stars 0 forks source link

[3][Dev Test Case] Play maze game #8

Open gabriel-lau opened 4 years ago

gabriel-lau commented 4 years ago

Test cases for #4 and the results

YUNT3NG commented 4 years ago
  Test Description Test Steps Values Expected Outcome Actual Outcome P/F Remarks
1-1 This is to test that all of the buttons lets the user proceed in the right direction as per the instructions Press "W" to go up "W" on keyboard "A" moves up As expected P  
1-2 Press "S" to go down "S" on keyboard "A" moves down P  
1-3 Press "A" to go left "A" on keyboard "A" moves left P  
1-4 Press "D" to go right "D" on keyboard "A" moves right P  
1-5 Press "w" to go up "w" on keyboard "A" moves up As expected P  
1-6 Press "s" to go down "s" on keyboard "A" moves down  
1-7 Press "a" to go left "a" on keyboard "A" moves left  
1-8 Press "d" to go right "d" on keyboard "A" moves right  
2 This is to check that the A's rows x columns is updated 1. Press "A" or "D" to move up or down one column2. Press 'W' or "S" to move up or down one row   Row and column are updated accordingly As expected P  
3-1 This is to test that users are unable to move if the direction they are moving in is an "X" Press "W" to go up "W" on keyboard "A" does not move, "Invalid move" error message is displayed As expected P  
3-2 Press "S" to go down "S" on keyboard P  
3-3 Press "A" to go left "A" on keyboard P  
3-4 Press "D" to go right "D" on keyboard P  
4 This is to test that the user is able to see a congratulatory message when completing the maze Complete the maze   "Congrats" message is displayed As expected P  
5 This is to test that the user is brought back to the the main menu after completing the maze Complete the maze   User is brought back to the main menu of the program As expected P  
6 This is to test that users are able to return to the main menu Press "M" "M" on keyboard User is returned to the main menu As expected P