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 thousands of developers
Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.
No spam. Unsubscribe anytime. You can also follow me on X.
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/