Hello.
I upload new version of Mocketry 2.1 to smalltalkhub http://www.smalltalkhub.com/#!/~dionisiy/Mocketry .
Changes:
1) All code now migrated to smalltalkhub repository. New configuration with version 2.1 implemented accordingly.
2) State specs extracted to separate project "StateSpecs" with separate configuration. This project contains all object state specifications and validation stuff. Mocketry depends on it and only implements behaviour specs and mock objects. StateSpecs can be used in different projects. I use it in Presenty to describe data fields validness.
3) Main new feature is stub behaviour. You can teach mock for stubs with:
mock stub someMessage willReturn: 'result'
And then mock can receive #someMessage everywhere anytimes. So you don't need scenario block if you only need stubs behaviour.
4) Few state specs like
dictionary should include: item at: #key
It will be cool if Mocketry become part of Pharo tools. What I can do for this?
Mock objects to me is main tool to design and implement flexible object
systems. And Mocketry simplifies mock objects technique very much.
Best regards,
Denis