S
S
SampleDev2020-07-26 13:13:41
Software testing
SampleDev, 2020-07-26 13:13:41

How to cover the project with tests?

There is a project on Laravel that interacts (mostly pulls data, passes authentication / authorization ...) with a REST service (based on Laravel and Passport). How to properly cover it with tests? What types of tests are generally better to write for such a project? Share your experience and opinions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2020-07-26
@SampleDev

It is necessary to lock the rest service so that it always responds with a data set known in advance in the test, and test the logic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question