OmerHanan1 / sqe-hw3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment 3: Software Quality Engineering

This is a repository for assignment 3 of the Software Quality Engineering course at the Ben-Gurion University, Israel.

Assignment Description

In this assignment, we tested an open-source software called Moodle.

This software provides the user with a platform for creating online courses and learning management systems. The software is written in PHP and uses a MySQL database. Users can create courses, add activities and resources, and grade students' work. User types include students, teachers, and administrators. We tested the software using the Selenium framework.

Installation

In order to run the tests, you need to install the following:

  • Moodle - The software we tested.
  • Selenium - The framework we used to test the software.
  • ChromeDriver - The driver we used to run the tests on Chrome.
  • MySQL - The database we used to store the data.
  • XAMPP - The software we used to run the database.
  • IntelliJ IDEA - The IDE we used to write the tests.
  • Java JDK - The language we used to write the tests.
  • Maven - The software we used to build the tests.
  • Git - The software we used to manage the repository.

What we tested

We tested the following feature: A student login to the system and register to a course. A student attempts to a quiz. The quiz contains a question with a multiple choice answer. The student answers the question and submits the quiz (the answer is correct and contains two answers). The student submits the quiz and the system displays the grade. A teacher login to the system and edit the quiz. The teacher change the question to a question with a single choice answer. The teacher saves the changes.

The tests are located in the src/test/java

User story: As a student, I want to register to a course, attempt a quiz, and submit the quiz.

Preconditions: The student submits the quiz and the system displays the grade.

Expected outcome: The student submits the quiz and the system displays the grade.

User story: A teacher login to the system and edit the quiz.

Preconditions: The teacher change the question to a question with a single choice answer.

Expected outcome: The answer cannot be changed to a single choice answer since the quiz is already submitted.

How we tested

We used two different testing methods:

  1. Cucumber, a BDD testing framework.
  2. Provengo, a story-based testing framework.

Each of the testing methods is elaborated in its own directory.

About

License:MIT License


Languages

Language:Java 53.5%Language:JavaScript 32.2%Language:Batchfile 11.7%Language:Gherkin 2.6%