CSC/ECE 517 Spring 2018 E1812: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
===Description===
===Description===
The project aims to write a unit test for on_the_fly.rb.
The project aims to write a unit test for on_the_fly_calc.rb. This model file provides a module for assignments to calculate different kinds of scores when loading the views. However, there was no corresponding unit test and the coverage was only 15.45% after running all test cases.
===Tasks to be completed===
===Tasks to be completed===
We need to test those methods.
The OnTheFlyCal module provides 4 publish methods for assignments: compute_total_score, compute_reviews_hash, compute_avg_and_ranges_hash and scores. We need to test all those methods. Privately methods are tested when testing public methods instead of tested directly.
===Description of the the module===
===Description of the the module===
Description.
Description.

Revision as of 15:44, 26 March 2018

Description

The project aims to write a unit test for on_the_fly_calc.rb. This model file provides a module for assignments to calculate different kinds of scores when loading the views. However, there was no corresponding unit test and the coverage was only 15.45% after running all test cases.

Tasks to be completed

The OnTheFlyCal module provides 4 publish methods for assignments: compute_total_score, compute_reviews_hash, compute_avg_and_ranges_hash and scores. We need to test all those methods. Privately methods are tested when testing public methods instead of tested directly.

Description of the the module

Description.

Testing plan

Testing.

Links

Links

Acknowledgement

Acknowledgement