@calebporzio Perhaps could add a "New" indication when arriving at the third li? The previous lis were noted as "Same". The 3rd is "New" which then leads to the decision of "Insert"?
No biggie, just throwing it out there!
One way to think of a test suite is in Past Selves.
At that moment in space and time, your technical decisions were recorded as a test. Now, your Current Self can consult with your Past Selves to make sure everything checks out. Like a dedicated dev team to check just your work!
Thanks to @LukeDowning19, Navigator now supports the incoming Laravel 10 and Pest 2!
Navigator is a package for Laravel that cares for constructing and managing navigation items for your applications
https://t.co/5i2eG7mSih
@LukeDowning19@nedwors@pestphp Here's my implementation of this. I also added a "meta" test to confirm every API route in the app is tested with this helper. I found a few I missed and a couple of things I had missed.
This is amazing thank you @LukeDowning19@nedwors!
We don’t duplicate code, so why duplicate tests?
This is one way to ensure source of truth for those crucial tests like guests, permissions, authentication, views, redirects.
It also means collaboration is smoother as the same testing standards are adhered to
#Laravel#Pest
My good friend @nedwors recently PR'd this @pestphp DSL helper to a project we're working on together.
Adding one line of code gives you tests for authentication and authorisation that would otherwise take you an age to write for every route in your app ❤️
@LukeDowning19 How about using app()->resolving(...) or app()->extend(...) so that you can keep an eye on what's been resolved, but it removes the mockery layer? Just let the app do its thing?
That way it's more of a passive observer?
I just voted to send @marcelpociot, @s_bergmann and @LukeDowning19 on vacation!
Let’s hope one of them can pre-pair for a holiday soon courtesy of Tuple…
https://t.co/wyrJkf9zzP
@vovayatsyuk@marcelpociot @laravelphp Hehe... In all seriousness, it was an opportunity for me to build something and explore new ideas. It's never going to replace anything by Spatie, nor was that the intention! Just building for the fun 🤙