1 month ago

TDD how do you test backend and frontend

Posted 1 month ago by Charrua

Hi, I'm new to TDD. As I'm developing my app at the moment I'm only using phpunit with assertions and HTTP tests.

At this moment I'm testing features, functionalities and some information that is rendering on blade templates with HTTP tests.

Do you use this tests for what's rendering on the browser, like HTTP tests or do you write separate tests in another package like Laravel Dusk?

I wanted to find some guide on what to test and how to test it. For example, use phpunit to test features and use dusk to test frontend and browser...

Please sign in or create an account to participate in this conversation.