I write a functional test for my symfony software and run it from command prompt. Now I want to get the result of functional test as a report(in a text file or word file etc).
How can U resolve this issue ?
I write a functional test for my symfony software and run it from command prompt. Now I want to get the result of functional test as a report(in a text file or word file etc).
How can U resolve this issue ?
Using :
$ php symfony test:functional --xml=log.xml
You can retrieve a xml.
If you want to integrate your test suite in a continuous integration process, use the
--xml
option to force thetest:functional
task to generate a JUnit compatible XML output.