Menu

#22 Changing the re-use of return values in test cases

open
nobody
None
5
2003-07-24
2003-07-24
Sean Kirby
No

Upon generation of a mock object (in the Eclipse
plugin), there is the option of re-using the last
returned value for methods that have a return value.
What i would like are methods on the mock itself so
that i can turn on and off this behaviour in my test
cases.

Also, when re-using the last returned value, it would
be nice if setup<method name> would re-set the value
that is to be returned after someone has already made a
call to setup<method name>.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.