Test Case Specification

Lezioni alla pari

April 19, 2020

Team Members

Ovidiu Andrioaia
David Cirdan
Luciano Mateias
Zhiyang Xia

Document Control

Change History

Revision Change Date Description of changes
V1.0 04/19/2020 Initial release

Document storage

This document is stored in the project's GIT repository at: https://github.com/KilliKrate/Software-Documentation-G6/blob/master/docs/Test%20Case%20Specification/index.md

Document Owner

Group 6 is responsible for developing and maintaining this document.

Table of Contents

Introduction

Login Application Integration Tests

An individual signs up to the service

An user logs into the service

An user changes his user settings

Lezioni alla Pari Client

An user views the courses, topics and lessons/quizzes list

An user creates a course, topic and lesson/quiz

An user deletes a course, topic or quiz/lesson

An user opens a lesson

An user takes a quiz

A course administrator edits an existing lesson

A course administrator edits an existing quiz

Introduction

The purpose of this documenti it to outline the integration test cases to be used in different stages of the software developement process. This document focuses mainly on integration testing, as unit testing is already performed by the developer/team working on the module, and is required before submitting a new feature to the existing application. System testing and Acceptance testing is also left out, as they will be done once the application is completed an functional.

⬆️ Back to Top

Login Application Integration Tests

An individual signs up to the service

ID Test Case 1.1
Item or Feature Sign-Up
Objective To ascertain that the registration process is easily completed and that input errors are forwarded back to the user for correction, like in the case of an email that is invalid or already in use
Setup The user has launched the service's executable and clicked on the Register button
Expected Output The user successfully registers to the service by inserting his personal data and correcting any wrong fields thanks to error feedback provided by the app. The user entry is successfully stored on a persistent user database for future log-in attempts
Test Procedure 1. Open the Lezioni alla Pari application through its executable
2. Click on the "Register" button
3. Fill in your data following the app's instructions
4. Correct any incorrect information
5. Submit your registration via the "Submit" button

An user logs into the service

ID Test Case 1.2
Item or Feature Log-in
Objective To ascertain that the log-in procedure is easily completed with the assistance of error feedback in case of incorrect input, and that the log-in is secure, not allowing users with incorrect information to log into the application
Setup The user has launched the service's executable and has already registered to the service by following the registration procedure
Expected Output The user successfully logs into the app by entering his log-in credentials and correcting any wrong fields thanks to error feedback provided by the app.
Test Procedure 1. Open the Lezioni alla Pari application through its executable
2. Log-in with the credentials used for the registration procedure
3. Correct any incorrect information
4. Log-in via the "Log-in" button

An user changes his user settings

ID Test Case 1.3
Item or Feature Edit user settings
Objective To allow the user to change his user settings, mainly reset his password
Setup The user has launched the service's executable and has already logged into the service by following the log-in procedure
Expected Output The user successfully resets his password, and is able to log into the service with his new credentials
Test Procedure 1. Open the Lezioni alla Pari application through its executable
2. Log-in with the credentials used for the registration procedure
3. Click on the "Edit User Settings" button
4. Reset any data that you wish to reset
5. Correct any incorrect information
6. Click on the Submit button

⬆️ Back to Top

Lezioni alla Pari Client

An user views the courses, topics and lessons/quizzes list

ID Test Case 2.1
Item or Feature View courses and its contents
Objective To enable the user to view a course, its topics and the lessons/quizzes contained therein. The user shall use this view to select a lesson/quiz he wishes to see
Setup The user has logged into the service and launched the app through the welcome screen
Expected Output The user is able to view all courses he has access to, and view all of its contents in three separate columns: courses for the first, topics for the second and lessons/quizzes for the third
Test Procedure 1. Log into the app via the Login Application
2. Select a Course from the Courses list
3. Select a Topic from the Topics List

An user creates a course, topic and lesson/quiz

ID Test Case 2.2
Item or Feature Create a course, add topics and lessons/quizzes
Objective To enable the user to create his own course and populate it with relevant content, which will be made available to other users
Setup The user has logged into the service and launched the app through the welcome screen
Expected Output The user is able to create courses, topics and lessons/quizzes through the graphical user interface
Test Procedure 1. Log into the app via the Login Application
2. Click on the "+" button
3. Give a name to your course
4. Click on the "Create Course" button
4. Repeat the same procedure for topics and lessons, with their respective buttons

An user deletes a course, topic or quiz/lesson

ID Test Case 2.3
Item or Feature Delete a course, topic or lesson/quiz
Objective To enable the user to delete content if he so chooses
Setup The user has logged into the service, launched the app through the welcome screen and has already created the element he wishes to delete
Expected Output The user permanently deletes the course
Test Procedure 1. Log into the app via the Login Application
2. Right Click on a quiz
3. Click on the "Delete" button
4. Click on the "Confirm" button

An user opens a lesson

ID Test Case 2.4
Item or Feature Open a lesson
Objective To enable the user to view educative content made by himself or other users
Setup The user has logged into the service, launched the app through the welcome screen and selected a lesson from an available course
Expected Output The user is able to correctly view a lesson, with all of its related content, through the Quill text editor, and go back to the main screen when he so chooses
Test Procedure 1. Log into the app via the Login Application
2. Select a course and a topic
3. Select a lesson
4. Wait for the content to load
5. View the selected lesson

An user takes a quiz

ID Test Case 2.5
Item or Feature Complete a quiz
Objective To enable the user to start the completion of a quiz
Setup The user has logged into the service, launched the app through the welcome screen and selected a quiz from an available course
Expected Output The user is able to correctly view the quiz, answer questions, submit his answers and view the result of his attempt
Test Procedure 1. Log into the app via the Login Application
2. Select a course and a topic
3. Select a quiz
4. Wait for the content to load
5. Answer the questions
6. Submit the answers via the "Submit" button
7. View the results of the attempt by clicking on the quiz once more

A course administrator edits an existing lesson

ID Test Case 2.6
Item or Feature Edit a lesson
Objective To enable the user to create his own educative content by writing and styling text, inserting images or providing external links
Setup The user has logged into the service, launched the app through the welcome screen, has created a course, a topic and a lesson
Expected Output The user is able to enter the "Edit" screen, create content through the Quill text editor and submit it for persistent storage
Test Procedure 1. Log into the app via the Login Application
2. Right Click on a lesson
3. Click on the "Edit" button
4. Wait for the editor to load
5. Write, format and stylize text
6. Insert images or external resources
7. Submit the lesson via the "Submit" button

A course administrator edits an existing quiz

ID Test Case 2.7
Item or Feature Edit a quiz
Objective To enable the user to create customizable quizzes for his students
Setup The user has logged into the service, launched the app through the welcome screen, has created a course, a topic and a lesson
Expected Output The user is able to enter the "Edit" screen, add up to three different types of questions (single choice, multiple choice, open ended) and then submit his quiz for persistent storage
Test Procedure 1. Log into the app via the Login Application
2. Right Click on a quiz
3. Click on the "Edit" button
4. Wait for the editor to load
5. Add a question by choosing a type, a title and up to three incorrect answers and one correct answer
6. Submit the question via the "Submit" button
7. Repeat the procedure for multiple questions
Submit the quiz via the "Submit" button

⬆️ Back to Top