Skip to content
Snippets Groups Projects
Commit a457192a authored by Asad Mansoor's avatar Asad Mansoor
Browse files

Added section 4 to the Test Plan

parent 4675cfba
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -567,13 +567,62 @@ For additional details, consult the \href{https://gitlab.cas.mcmaster.ca/yuens2/
\section{Tests for Proof of Concept}
\subsection{Area of Testing1}
\subsection{GUI}
...
\requirements {
name = Terrain grid with an unit is constructed onto the GUI window,
type = Structural Dynamic Manual Testing,
execution = Attempt to launch the game by the user\mbox{,} will prompt a window in which a terrain shall be initialized for the gameplay interactions.,
initialState = Game is not yet opened.,
input = Program is launched.,
output = The game functions as expected and a gameplay window is prompted for user interaction.
}
\addvbuffer
\requirements {
name = The game will remain in its current state when the application is minimized,
type = Structural Dynamic Manual Testing,
execution = Attempt to minimize the game during the gameplay and shortly after reopen the game to continue from the same game state.,
initialState = Game is initialized and showing the terrain grid.,
input = Attempt to minimize the application by clicking on the minimize button on the top-right corner of the window.,
output = The game minimizes as expected and displays the same game state when reopened.
}
\subsection{Area of Testing2}
\addvbuffer
...
\requirements {
name = The game and its operation will be closed when the application is closed,
type = Structural Dynamic Manual Testing,
execution = Attempt to close the gameplay window to end the game and its operations.,
initialState = Game is initialized and showing the terrain grid.,
input = Attempt to close the application by clicking on the close button on the top-right corner of the window.,
output = The game ends all operations and closes the gameplay window as expected.
}
\addvbuffer
\subsection{Unit Movement}
\requirements {
name = Unit can be selected and deselected when clicked,
type = Functional Static Automatic Testing,
execution = Attempt to trigger selection and deselection mode on an unit when it is being clicked on from the user.,
initialState = The game is opened and initialized.,
input = The unit is clicked on for selection and then clicked again for deselection.,
output = The unit stays in the same position waiting to be selected to be moved as expected.
}
\addvbuffer
\requirements {
name = Units are able to move onto any grid position when selected,
type = Functional Static Automatic Testing,
execution = Attempt to move units anywhere on the grid only when they are selected by being clicked on from the user.,
initialState = The game is opened and initialized.,
input = The unit is clicked on by user who then select any available grid position placed on the terrain .,
output = The unit will take the new position and the old position will be empty as expected.
}
\newpage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment