alihoushyaripour's avatar

How to write test case for all routes?

Hi,

I have a project that wrote all route as RESTful api, with more than 100 routes, and now I want to write test modules for all of them and test everyone of them with differents test case.

I used laravel 5.6

How can I do it? is there any simple way?

0 likes
2 replies
shez1983's avatar

well short of paying someone to do your work - you will have to build tests for each - ideally you should have been doing TDD approach - almost always people have less motivation to add tests afterwards..

1 like

Please or to participate in this conversation.