Aaron Francis' course on creating screencasts is now available
Great work! I wish this course existing when I started out creating screencasts.
Read more [screencasting.com]
Posts tagged with screencast
Great work! I wish this course existing when I started out creating screencasts.
Read more [screencasting.com]
Good tips by Jeffrey Way
Read more [laracasts.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
In an older post on his blog Adam Wathan shared an interesting approach on how to prevent API drift between a test mock and an actual implementation.
One of the risks of writing your own test doubles is that the API of the double can fall out of sync with the API of the real implementation.In this screencast I walk through an example that explains:
- How interfaces can provide a false sense of security
- Why tests make better contracts than interfaces
- How to run multiple implementations against a shared set of contract tests
If you’ve ever had issues with API drift, try this approach and let me know how it works for you.
https://adamwathan.me/2016/02/01/preventing-api-drift-with-contract-tests/