Yes, you should write tests for your Nova app. While Nova does not have a dedicated section on testing, you can still write tests for your Nova resources, actions, metrics, etc. using the Laravel testing framework. You can find more information on how to write tests for your Laravel application in the Laravel Documentation. Additionally, you can find some helpful tutorials on writing tests for Nova apps on the Laracasts forum.
Mar 1, 2023
2
Level 1
Should I write tests for my nova app?
I built a web app using Laravel nova admin panel and I wrote tests for other logic my app is doing. But for nova I didn't find any section about testing in their docs. does this mean that I shouldn't write tests for my nova implementation, resources, actions, metrics, etc? And if I should. How? can you provide a good resource or docs explaining how to go through it?
Please or to participate in this conversation.