CSC/ECE 517 Fall 2018- Project E1848: Writing unit tests for assignment team.rb

From Expertiza_Wiki
Jump to navigation Jump to search

The purpose of this project is to improve the coverage and quality of the unit tests for the assignment team model in Expertiza. This project comprised the program 3 assignment of CSC/ECE 517 in fall 2018 and is entitled "Project E1848: Writing unit tests for assignment_team.rb." The source code for this project is in pull request #1228 of the Expertiza project on GitHub.

Key Contributions

Out of the 30 methods defined for the model AssignmentTeam.rb, test case was written for only one. Our contribution was to successfully add test cases for all remaining 29 methods.

The Class under Test

AssignmentTeam

Test Plan

Test Design

Test Structure

Test Coverage

Stubs for Isolating the UUT

DRY Testing Practices

Factories and the let RSPEC Helper Method

Contexts

Testing Framework

RSPEC

Bugs Detected

Results

Future Work

References