I am creating a custom testing application using PHPUnit and Goutte. I would like to load the Goutte library (plus any files required for the tests) within my own bootstrap file and then start the PHPUnit test runner once it is all bootstrapped.
I’m not sure how to do this without calling the phpunit script externally (Which would be a seperate process, and won’t be able to see my bootstrapped libraries). Has anyone done anything like this before? What is the best way to do it?
If you reference the fixtures chapter in the PHPUnit documentation, it tells you about setup() and teardown().
This is basically a way of bootstrapping your application prior to running the tests in the test class.