Mailinglist Archive: yast-devel (48 mails)

< Previous Next >
Re: [yast-devel] Reminder: verify_partial_doubles is not default
On Thu, Jun 13, 2019 at 04:21:13PM +0200, Josef Reidinger wrote:
again I hit by thinking that verify_partial_doubles is now default in rspec3.
It is not and will be in rspec4.
So what it means? rspec does not check if mocked methods exists at all and it
can result in many not so funny errors in test suite. I am just faced it in
network, so I create non trivial commit[1] that enables it there. It includes
also how to avoid failures on mocked class[2] which avoided build
dependencies. From list of errors it can check is typos[3], mocking of wrong
class[4] and mocking non-existing methods[5].

Thanks for the tip!


I have tested it and it does not work ;-)
I have a fix:
Martin Vidner, YaST Team
< Previous Next >