Open plexus opened 9 years ago
RSpec 3 gives you verified doubles, which are the major ‘selling poing’ behind Bogus. RSpec’s verified doubles work a little bit differently, though: they verify the double iff the doubled class is loaded. This has pros and cons: on one hand it lets you do outside-in implementation without having empty method calls on the lower layers, on the other it does not verify the double if for some reason you forgot to load the doubled class.
That said, there are two Bogus features that RSpec does not have (yet?):
Dumping this here for future reference, this will need to be expanded with actual explanations of what this all means and probably should become part of DEVELOPMENT.md