CSC/ECE 517 Fall 2015/oss E1567 APT: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 10: Line 10:


===Classes Involved===
===Classes Involved===
<li>
 
<ul>users_controller.rb</ul>
* users_controller.rb
<ul>user.rb</ul>
* user.rb
<ul>user_spec.rb</ul>
* user_spec.rb
</li>


==Initial State==
==Initial State==

Revision as of 19:10, 31 October 2015

Introduction to Expertiza

The Expertiza project is a web application to create reusable learning objects through peer review. It supports various features such as team projects, and the submission of various documents including URLs and wiki pages. It is being extensively used across various universities for select courses. The page describes the various changes and modifications done to improve the source code of the application. The changes were accompanied by unit/functional test cases written in RSPEC to affirm no breakage in code.

Project Description

Users Controller is one of the controllers in the Expertiza Rails Application. It is used for the basic CRUD operations - creating new users, updating the details for an existing users or deleting an existing user in the system. It is also used to determine the role of particular user in the system. The role could be one of the following - Administrator, Instructor, Student, Teaching Assistant, Super-Administrator or Unregistered User. The associated model class for interacting with the user table is the User model. It is also used for to verify the various access privileges for each user, import or export users.

Classes Involved

  • users_controller.rb
  • user.rb
  • user_spec.rb

Initial State

What needs to be done/Changes Made

About rspec

Test Cases

Test Case 1

Test Case 2

Test Case 3