dimanche 11 octobre 2015

Binding Laravel phpunit tests to routes

I'm building a RESTful API using Laravel 5.1. I wrote functional tests using the default phpunit came with the package. I'm able to run the tests from command line with phpunit command.

I want to create a route called /tests, and bind it to the phpunit tests. So after I deploy the api to the server, I should get the test results when I make a GET request to http://ift.tt/1N6tfZQ.

Is that possible ?

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire