Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

abkrim's avatar
Level 13

Complete Nova Serie with minimal chapter about how to test with Nova

Hi.

I think it would be very good for the community, one more chapter of Nova, in which the issue of testing with Nova will be addressed, which does not have much doc or many articles published on the network.

0 likes
7 replies
bugsysha's avatar

Not sure what are you trying to test, but you can always use Dusk to test it. Also if you want to test specifics you can write tests for it. One thing to note is that you should not test what you do not own. So testing features of Nova which were already tested by the team that is developing it does not provide much value.

abkrim's avatar
Level 13

Dusk is a system to test the application in browser mode. There are many tests that do not need the heavy Dusk, such as policies, permissions, or other questions.

Dusk for the tests is fine, the integration with browser, but not for that type of tests. So it's not about doing tests to do them. Laravel Nova gives you a series of things, but it is not a finished construction, but you must finish and therefore have many tests to perform.

And these types of tests, which are super easy when we test our api, or a normal application of Laravel, are no longer so much in Laravel Nova.

Best regards.

bugsysha's avatar

With so much pronouns it is very hard to understand what you want to test which makes suggesting a solution even harder.

abkrim's avatar
Level 13

Ok, have a good day. Appreciated your interest in the opinion, but here I stopped reading.

abkrim's avatar
Level 13

Calling someone who speaks to you with education, and who can be your father, is an unequivocal sign of your bad education. But I guess it's normal for some young people today.

bugsysha's avatar

It just does not seem normal to me that someone of that age and experience without any explanation ignores someone who is trying to help. Like I'm trying to help and explain my point of view, you could show your great manners and do the same cause I might be missing some key insight into your issue which prevents me from suggesting better solutions. I do not see anything wrong with my statement that there are too many pronouns and could benefit from better explanation.

Please or to participate in this conversation.