atoum / AtoumBundle

This bundle provides a simple integration of atoum into Symfony 2.
MIT License
44 stars 25 forks source link

Add new assertions to Element asserter #14

Closed jubianchi closed 11 years ago

jubianchi commented 11 years ago

This PR adds come new asserters :

jubianchi commented 11 years ago

Since 2a945b5, we have error messages like this :

> There is 1 failure:
=> Acme\DemoBundle\Tests\Controller\DemoController::testContactAction():
In file /symfony-acme/src/Acme/DemoBundle/Tests/DemoController.php on line 55,
atoum\AtoumBundle\Test\Asserters\Element::end() failed: 
Expected 5 element(s) matching input[type="email"][name="contact[email]"], found 1.
FlorianLB commented 11 years ago

Seems good for me. Ready to merge ? /ping @stephpy

stephpy commented 11 years ago

Yes, you can merge i think.

jubianchi commented 11 years ago

go go go :)