Skip to content

Releases: Brain-WP/BrainMonkey

v1.3.1

19 Feb 10:47
Compare
Choose a tag to compare

Fixed

  • Path of Patchwork (thanks @stephenharris)
  • not working justEcho() and echoArg()

v1.3.0

19 Feb 09:44
Compare
Choose a tag to compare

Fixed

  • Expectation state persists among tests (#6)

Added

  • Functions::when()->justEcho() to mock a function making it echo some value
  • Functions::when()->echoArg() to mock a function making it echo one of received arguments

v1.2.1

12 Jul 23:42
Compare
Choose a tag to compare
Allow mocking same function with different arguments

See #5

v.1.2.0

05 Jun 14:15
Compare
Choose a tag to compare
  • Allow whenHappen() for added hooks
  • Make current_filter() always return original hook name, even when hook names contain special chars, see #1

v.1.1.4

14 May 01:59
Compare
Choose a tag to compare

Improved hooks name sanitization, to avoid names collision.

v.1.1.3

13 May 21:02
Compare
Choose a tag to compare

Hamcrest-PHPUnit conflict has been solved. No need for the hack introduced in v1.1.2

v.1.1.2

13 May 15:23
Compare
Choose a tag to compare

Fixed bug reported in #1

v.1.1.1

24 Mar 20:07
Compare
Choose a tag to compare
Fixed issue for Patchwork path

v.1.1.0

24 Mar 19:57
Compare
Choose a tag to compare

Moved all setup to Monkey class

First Release

24 Mar 12:03
Compare
Choose a tag to compare
1.0.0

First docs release