PHP: Unit Test For My API

强颜欢笑 提交于 2019-12-11 10:26:33

问题


I created an API using SlimeFramework then wrote test to see if results returned from the routes are accurate and also to test side effects of accessing these routes. I am making the client call with guzzle.

I am required to use continuous integration to send the information to travisCI, but travis does not have a host on which I can test my API, and guzzle requires a client(url) from which to make the route calls.

I am new to using any form of continuous integration and do not know what to do. I need help.

How do I test my API on travis?

来源:https://stackoverflow.com/questions/34704715/php-unit-test-for-my-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!