-
Given the following source code:
``` php
-
Hi,
I'm using Silex in my project and I just installed atoum for create my unit tests.
I've also installed atoum-bundle for to have the TestController classes and the WebTestCase.
When I execute ato…
ke20 updated
10 years ago
-
Comme la doc le stipule, pour mock le constructeur d'une classe, c'est un cas particulier et il faut faire :
``` php
$controller = new \atoum\mock\controller();
$controller->__construct = function()…
syrm updated
10 years ago
-
Using Hywan/atoum-instrumentation@25829d0
Given the following source code:
``` php
-
This can be tested with the following script:
``` php
evert updated
10 years ago
-
My project is setup as follows And cakephp is installed via composer.
cakephp: /Vendor/cakephp/cakephp
app: /public_html
plugins: /public_html/Plugin
source folder: /public_html
When I choose run a …
-
| OS | HHVM | PHP |
| --- | --- | --- |
| Ubuntu 13.10 | 2.4.0 (c82fcd8e6199c500454b1a8b930a876ef2c1522b) | 5.5.3 |
I got different result with `array_uintersect_uassoc` between PHP and HHVM while wo…
-
```
$ composer require hoa/websocket:dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements …
-
Using Hywan/atoum-instrumentation@25829d0
Given the following source code:
``` php
-
Currently, at least 30 classes of atoum use an `atoum\adapter` instance to mock native PHP function in tests.
But we have now a more powerful tool in atoum to do this job, aka `$this->function`.
So, w…