CSC/ECE 517 Fall 2017/E1759: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This wiki page is the description of tests performed under E1759 OSS Assignment - Test surveys and survey deployment, for Fall 2017, CSC/ECE 517.
This wiki page is the description of tests performed under E1759 OSS Assignment - Test surveys and survey deployment, for Fall 2017, CSC/ECE 517.


= Hi =
= Introduction =
== Hi ==
=== 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:
# Understood the flow of the survey creation and deployment function.
# Updated the RSpec file in /spec/features/ folder.
# Used fixtures to create the student record in test DB. 
# Used Capybara to write functional tests for:
## Creating a new survey.
## Creating different types of questions.
## Editing different types of questions.
## Deleting different types of questions.
## Deploying survey.
# 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.

Revision as of 23:48, 21 October 2017

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.