it would be convenient for people like me who have no memory or for programmers who want to get started quickly, having a command that generates a test class with everything needed to start.
which would contain the test class and a basic test just to check that the test run well.
Like this :
<?php
namespace AppBundle\Tests\Units\DataTransformer;
use atoum;
class AwesomeDataTransformer extends atoum
{
/**
* this test is generated by atoum command
*
*/
public function testBasic()
{
$this
->if($this->newTestedInstance())
->then
->object($this->testedInstance)
->isTestedInstance();
}
There generators in Symfony and that makes life easier sometimes.
I think the developers using Symfony would be more enthusiastic if can they could play quickly with atoum.
it would be convenient for people like me who have no memory or for programmers who want to get started quickly, having a command that generates a test class with everything needed to start.
For example : With the command :
it would generate a file :
which would contain the test class and a basic test just to check that the test run well. Like this :
There generators in Symfony and that makes life easier sometimes. I think the developers using Symfony would be more enthusiastic if can they could play quickly with atoum.