laravel - How many tests for the same class? -


i using php laravel framework , have controller class.

i have written unit test class.

is necessary write integration test same class?

or controller classes need integration instead of unit tests?

how repository classes call eloquent models , adapters call third party packages?

should have integration tests, since not under control?

thanks


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -