Hi guys,
I launched yesterday a new project that aims to make the use of mocks
safer.
This is the URL of project: GitHub - wilkerlucio/aidmock: Safe mocking
The basic idea is to make user define interfaces of classes, when user
defines the class interface (which is something like defining method
signatures on C or Java) Aidmock automatic generate some sanity check
specs, these specs will verify if class has the method defined, and if
it respect arity of interface.
And more important, when user create mocks while developing specs, it
will verify all defined mocks, and check if they are respecting
defined interface.
You can saw more about project motivation here(with some example of
why it exists): Motivation · wilkerlucio/aidmock Wiki · GitHub
This project is a kind of experimental one, with a different idea, and
any feedback will be really welcome.
Thanks