Download the PHP package usox/hackmock without Composer
On this page you can find all versions of the php package usox/hackmock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download usox/hackmock
More information about usox/hackmock
Files in usox/hackmock
Download usox/hackmock
More information about usox/hackmock
Files in usox/hackmock
Please rate this library. Is it a good library?
Informations about the package hackmock
HackMock
Creating mock objects for hacklang - yes, seriously.
Note
Due to the use of eval
, hackmock may stop working in future hhvm versions.
What works?
- Strict mode
- Creating mocks of interfaces and concrete classes
- Defining basic method expectations (parameter validation, return value definition)
What does not work?
- Everything else, especially rare and/or untested cases involving generics, etc.
All versions of hackmock with dependencies
PHP Build Version
Package Version
Requires
hhvm Version
^4.1
facebook/hack-codegen Version ^4
hhvm/hsl Version ^4.1
hhvm/type-assert Version ^3.2|^4.0
facebook/fbexpect Version ^2.3
hhvm/hacktest Version ^1.4|^2.0
facebook/hack-codegen Version ^4
hhvm/hsl Version ^4.1
hhvm/type-assert Version ^3.2|^4.0
facebook/fbexpect Version ^2.3
hhvm/hacktest Version ^1.4|^2.0
The package usox/hackmock contains the following files
Loading the files please wait ....