FilamentF
Filament3y ago

Sample of writing unit tests using Pest

Hello I'm new in Filament and I'm writing unit tests for my Resources

However whenever I create a unit test class outside Pest.php (tests/Feature/) the pest methods doesnt work unless if they're within the Pest.php

I tried searching on Google but no luck the documentation doesn't cover writing unit tests from scratch.
Was this page helpful?