COE 318 Study Guide - Quiz Guide: Datel, Method Overriding, Junit

182 views8 pages

Document Summary

Determine the classes needed for the program. Universal module language (uml) captures interactions between classes: dependency (a uses b, aggregation (a has a b) Dependency exists when one class relies on another[ An object that is made up of other objects: inheritance (a is a b) one class is a specialized version of the other, same as parent child class stuff. Test case - tests the response of a single method to a particular set of inputs. Unit testing a test of a single class. Integration testing a test of how well classes work together (2+ classes) Use of assert in testing asserttrue(boolean test) asserts a condition is true assertfalse(boolean test) asserts a condition is false assertequals(object expected, object actual) asserts if the 2 objects are equal, if they aren"t an error. Instanceof tests if an object is of a specified type. If s was null then it would be false.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents