Closed xkrogen closed 8 years ago
I very much agree.
On Fri, Oct 23, 2015 at 2:31 PM, Erik notifications@github.com wrote:
Writing the heat_watcher test has made me realize that the ignore option is really nice for situations where you want to mock but not spy (in the heat_watcher example, I really don't want to be observing all of the calls to get_current_time) but this isn't possible at the moment.
— Reply to this email directly or view it on GitHub https://github.com/necula01/bond/issues/18.
This was added in commits f316761 (Python) and fe9dc80 (Java, Ruby) via the mock_only
option on spy points.
Writing the heat_watcher test has made me realize that the
ignore
option is really nice for situations where you want to mock but not spy (in the heat_watcher example, I really don't want to be observing all of the calls toget_current_time
) but this isn't possible at the moment.