@Tray2 So how do i write unit tests? i've been following the "build a laravel app with Tdd" and the same code work in the video and does not work for me (* i'm a biginner *)
@ryan_ If you need to hook into laravel features it's a feature test. Unit tests is for testing an emcapsuled action. Like calculating the average of a bunch of numbers. Just test 1 unit of code
But you are not forced into any structure. You could just extend laravels test class in all tests and move them into folders that makes sense to you.
@ryan_ Either don't use any Laravel Testcase methods in your unit test or
just extend the Laravel testcase in the unit tests as well instead of the PhpUnit testcase.