|
|
CS 420/520: Object-Oriented Programming |
|
|
|
Assignment 2: Unit Testing |
|
|
Set: Monday 12th October 2000 Code due: Monday 19th October 2009 at or before 4PM |
|
Look at the Collection classes and their tests. Can you find any test that fail? Can you find things that might possibly break that don't have tests?
Use the Package Browser or the Test Runner to browse and run tests. You should also read the SUnit chapter from Pharo by Example if you havn't yet done so. Write 10 unit tests for things that could possibly break in the Collection Classes, which are not already being tested. Did you find any bugs (in the existing tests, or in the Collection classes)? If so, fix them! It is OK to change the code in the collection classes to make it more testable, if you find that necessary. GroupsDo this assignment individually, not as a group Submitting your workSubmit your work by email to cs520-hw, with a subject line like this:
|
Most recently modifed by Andrew P. Black on