Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Releases: hhvm/fbexpect

Allow HackTest v2.0

01 Nov 15:54
Compare
Choose a tag to compare

This release permits either HackTest 1.x or 2.x

2.6.2: permit hacktest 2

01 Nov 16:10
Compare
Choose a tag to compare
v2.6.2

allow hacktest 2

Permit HackTest 2.0

01 Nov 16:06
Compare
Choose a tag to compare
HackTest supports HHVM 4.8 - but recent fbexpects don't.

Allow in 2.5.x so there's a hacktest 2 + HHVM 4.8 combo that works

2.7.1: clean up error @silencing

01 Nov 00:34
Compare
Choose a tag to compare

No longer depends on the disallow_silence setting being turned off, so it can now be used from projects with stricter settings without causing Hack errors.

2.6.1: add `toContainSubstring()` and `toNotContainSubstring()`

24 Oct 19:12
Compare
Choose a tag to compare

This adds the new methods in 2.7 without changing existing methods.

In 2.7 and above, toContain() and toNotContain() are restricted to containers/traversables.

2.7.0: type safety, feature improvements (breaking changes)

22 Oct 15:46
Compare
Choose a tag to compare
  • added toContainSubstring() and toNotContainSubstring()
  • toContain() can now only be used on Traversables; use the new toContainSubstring() on strings
  • toNotContain() can now only be used on KeyedContainers; use the new toNotContainSubstring() on strings
  • toThrowWhenCalledWithArgs() has been removed; use toThrow() with a lambda instead
  • toThrow() can now only be called if a callable with no arguments is provided
  • toThrow() now returns the exception, making it more straightforward and readable to make additional assertions about the exception (such as the message or error code)
  • toThrow() now supports Throwables instead of just Exceptions

2.6: target HHVM 4.13+, support currently nightlies (4.14-dev)

12 Jul 22:15
Compare
Choose a tag to compare
v2.6.0

remove accidentally-added hhconfig option

Un-deprecate `toEqual` and `toNotEqual`, using `===`

12 Jul 18:27
Compare
Choose a tag to compare
Undeprecate toEqual / toNotEqual (#14)

* Undeprecate toEqual / toNotBeEqual

These functions are back in style now, apparently.

* shim to Same instead of PHPEqual

* Add docblocks

v2.5.8: Support HHVM 4.10 and current nightlies (4.11-dev)

20 Jun 17:06
Compare
Choose a tag to compare

Support HHVM 4.1 and current nightlies (4.7-dev)

28 May 16:19
Compare
Choose a tag to compare
  • increase minimum version from 4.0 to 4.1
  • remove direct usage of empty() which is no longer supported in 4.7-dev