XpdWiki

FrontPage
RecentChanges
XtC
FindPage
PageIndex
XpApprentices

Set your name in
UserPreferences

Referenced by
PratikPatel




JSPWiki v2.0.52


StrutsTestCase


Difference between version 2 and version 1:

Line 3 was replaced by line 3
- The interesting thing about this is the way it handles mock objects. TimM and SteveFreeman suggested that the point of mocks is that you're verifying that the expected methods were called on the mock objects rather than just asserting things about their state. The advantage is that the test fails the moment your mock object is called with an unexpected value rather than waiting till afterwards when you're making your assertions.--AdewaleOshineye
+ The interesting thing about this is the way it handles mock objects. TimM and SteveFreeman suggested that the point of mocks is that you're verifying that the expected methods were called on the mock objects rather than just asserting things about their state. The advantage is that the test fails the moment your mock object is called with an unexpected value rather than waiting till afterwards when you're making your assertions.--AdewaleOshineye

Back to StrutsTestCase, or to the Page History.