CSC/ECE 517 Fall 2016/E1662. UI issues/fixes: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "= UI Issues/Fixes = === Background === Expertiza is an open source web application developed by students and faculty members of North Carolina State University. This portal is b...")
 
No edit summary
Line 14: Line 14:
* Students are graded on the basis of their work and reviews.
* Students are graded on the basis of their work and reviews.


=== Purpose ===
=== Objective ===
The purpose of this task is to write functional tests for team functionality. Once an assignment is out, a student can select this assignment and others can join in the team. To test this functionality we wrote functional tests for the various scenarios.
The main objective this project is to fix the issues in the current system. The current system has following issues:
One such scenario is :


* Once the assignment is out and a student selects it, he/she can send out invites to other students to join the team.
* Historically courses were created without providing Institution ID. However now since data warehousing is storing Institution Id for a particular course hence even this application should do that.
* Invited students can accept the invitation and join the team.
* If an assignment is completed, no one can sign up for topics or drop topics. Yet a completely blank "Actions" column on the signup sheet still appears. It would be better if the column did not appear.
* Currently when admin/instructor tries to delete an assignment, there is no alert/confirmation shown. This is risky. We need to add a confirmation step to avoid losing data.


=== Functional Tests ===
=== Issue Details ===


Functional tests ensure that the functionalities of a software system are working as expected. To write our functional tests, we used the Capybara gem available for Ruby.
Functional tests ensure that the functionalities of a software system are working as expected. To write our functional tests, we used the Capybara gem available for Ruby.

Revision as of 23:52, 28 October 2016

UI Issues/Fixes

Background

Expertiza is an open source web application developed by students and faculty members of North Carolina State University. This portal is being used by both faculty members and students in order to carry out assignments. Typically following is the workflow of the system:

  • Faculty member adds students to a particular course. He also adds an assignment for the class.
  • Assignment has a specific deadline, review period and final submission.
  • Faculty members upload list of topics for the assignment.
  • Students have to bid for the topic or they can suggest their own topic.
  • At the end of the bidding process, students get a specific topic for the assignment.
  • Students can form the teams by sending out invitations to other students.
  • Students start working on the assignment and submit the assignment work before the initial submission date.
  • Every student then gets to review work submitted by at least one team. Student submit their feedback in the review.
  • Students then make the necessary changes as suggested by reviewer and submit the assignment before the final submission date.
  • Students are graded on the basis of their work and reviews.

Objective

The main objective this project is to fix the issues in the current system. The current system has following issues:

  • Historically courses were created without providing Institution ID. However now since data warehousing is storing Institution Id for a particular course hence even this application should do that.
  • If an assignment is completed, no one can sign up for topics or drop topics. Yet a completely blank "Actions" column on the signup sheet still appears. It would be better if the column did not appear.
  • Currently when admin/instructor tries to delete an assignment, there is no alert/confirmation shown. This is risky. We need to add a confirmation step to avoid losing data.

Issue Details

Functional tests ensure that the functionalities of a software system are working as expected. To write our functional tests, we used the Capybara gem available for Ruby. Capybara gem allows a user to test their web application through simulations.

Functional Tests Implementation

Running the tests

The tests can be run on the terminal using the command:

 rspec specfile.rb

Whether the test fails or succeeds, allows us to determine which parts of the system are functioning properly.

External Links

  1. link for forked repository
  2. Github link for original repository
  3. Github link for Capybara