-
an example could be found here : https://gist.github.com/3359584
Whithout a .atoum.php file
```
>php tests/unit/Coconut/Computer.php
> PHP path: /usr/bin/php
> PHP version:
=> PHP 5.3.6 with Suhosi…
-
In order to complete #84 under Windows, here are some additional tests :
PHP 5.3.8
> PHP 5.3.8 (cli) (built: Sep 16 2011 21:28:32)
> Copyright (c) 1997-2011 The PHP Group
> Zend Engine v2.3.0, Copy…
-
Bonjour.
Atoum se bloque lorsqu'on appelle une fonction inexistante sur un objet d'une de ses classes. Par exemple, avec le code ci-dessous :
```
```
La sortie est la suivante :
> php test/atoum.…
-
I download the sources from GIT (6a2eb9c) and tried to run a complete test suite
> php scripts\runner.php -p c:\wamp\bin\php\php5.4.3\php.exe --testit
Here are the final result :
Failure (145 test…
-
Je fais en ce moment des tests d'intégration continue sur mes projets perso avec Jenkins et j'ai voulu volontairement faire échouer un test (modifiant la valeur d'un retour attendu) et je me suis rend…
eexit updated
12 years ago
-
Hello.
Je ne vous ferai pas l'affront de vous expliquer la nécessité d'avoir un jeu de tests suffisamment complet. :)
En revanche, quelle solution souhaitez-vous utiliser?
Histoire de rester sur de…
-
Je voudrais pouvoir combiner Behat et les assertions d'Atoum.
Or, en héritant déjà de la classe BehatContext, je ne peux pas hériter de mageekguy\atoum\test, que je dois donc instancier et utiliser co…
-
php mageekguy.atoum.phar --testIt
> atoum version nightly-962-201201232248 by Fr├®d├®ric Hardy (phar://c:/xxxxxxxxxxxxxx/vendor/mageekguy.atoum.phar/1)
> PHP path: c:\UwAmp\bin\php\php-5.3.5\php.exe
…
syrm updated
12 years ago
-
When I try to mock a class which inherit from another class, the parent constructor is always called.
``` php
-
``` php
$this
->foreach(
$array,
function() {
}
)
;
```
and
``` php
$this
->if($array = range(1, 10)
->then()
->foreach(
$array,
function() {
}
)
;
``…