Skip to content

Releases: dionisiydk/Mocketry

StateSpecs and Ghost updates

05 May 12:30
6a98772
Compare
Choose a tag to compare
v4.0.8

Ghost is updated for recent StateSpecs

Validation of the process where message was sent

26 Mar 22:52
a08899b
Compare
Choose a tag to compare

1). New expression to validate the process where message was sent:

mock should receive someMessage 
    inProcessWhich name should equal: 'MyProcessName'
  1. StateSpecs is updated
  2. cleanup of unused variables in tests

Fix class stubbing for Pharo 7

27 Jan 21:57
b210eb2
Compare
Choose a tag to compare

It updates version of Ghost which brings required Pharo 7 support

StateSpecs version updated

01 Sep 16:39
9b5f401
Compare
Choose a tag to compare
v4.0.5

StateSpecs version update

few fixes and better logic for #class message

27 Aug 22:36
afcc487
Compare
Choose a tag to compare
  • new expected action #willStubRealResult
  • better method protocol names
  • #class message to real object stub return original class of object by default

Ghost dependency is update to reference v3.1.x version which deprecates Pragma #selector

04 Aug 08:49
Compare
Choose a tag to compare

Ghost dependency is update to reference v3.1.x version which deprecates Pragma #selector and Pharo 5.
Github version of Mocketry is only for Pharo >6 versions. Major version update is not needed.

Printing of message sends is improved in few bad cases

15 Jul 22:16
Compare
Choose a tag to compare

It should fix travis run. Tests will be red but they will be finished (when travis will integrate fix for test environment it will succeed)

Moved from smalltalkhub

15 Jul 16:40
Compare
Choose a tag to compare

MockDefaultMethods is introduced. It now performs unexpected message to mock.
It allow to override default messages and disable them by signalling error.
It disables #copy and #shallowCopy default methods