CSC/ECE 517 Fall 2017/E1759

From Expertiza_Wiki
Revision as of 17:08, 27 October 2017 by Sshah14 (talk | contribs)
Jump to navigation Jump to search

This wiki page is the description of tests performed under E1759 OSS Assignment - Test surveys and survey deployment, for Fall 2017, CSC/ECE 517.

Introduction

Expertiza

Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the instructor to create new assignments and customize new or existing assignments. It also allows the instructor to create a list of topics the students can sign up for. Students can form teams in Expertiza to work on various projects and assignments. Students can also peer review other students' submissions. Expertiza supports submission across various document types, including the URLs and wiki pages.

Problem Statement

The following tasks were performed by us as part of our project:

  1. Understood the flow of the survey creation and deployment function.
  2. Updated the RSpec file in /spec/features/ folder.
  3. Used fixtures to create the student record in test DB.
  4. Used Capybara to write functional tests for:
    1. Creating a new survey.
    2. Creating different types of questions.
    3. Editing different types of questions.
    4. Deleting different types of questions.
    5. Deploying survey.
  5. Created multiple tests to check valid and invalid cases. For example, to test valid_start_end_time? by checking that if the start time is later than the end time, the test returns false.

Expertiza Survey Design

Expertiza should be able to distribute surveys to the users.
The survey can be one of the following: 1. Course survey (all the participants of the course can take it). 2. Global survey (all the users in Expertiza can take it).
The survey can also be targeted (the admin can specify a group of people who will receive this survey).
The three kinds of surveys in this project are:
1. Assignment Survey questionnaire
2. Global survey questionnaire
3. Course evaluation questionnaire