In this video, we are going to talk about one of the dependency-breaking techniques which will allow us to write tests easily. This technique will also help us to understand our dependency graph better.
Also, we will learn why DRY can be dangerous while writing and will look for an alternative called DAMP (Descriptive and Meaningful Phrases) while writing tests.
DRY: https://en.wikipedia.org/wiki/Don%27t...
DRY vs DAMP: https://stackoverflow.com/a/11837973/...
Introduce static setter: https://rohita.wordpress.com/2006/06/...
Multiple cursor selection in IntelliJ: https://www.jetbrains.com/help/idea/m...
Effective Java Item 3 : / learning-effective-java-item-3
Book Links :
Effective Java 3rd Edition: https://amzn.to/3LGh3nn
Clean code: https://amzn.to/3Koormu
Working Effectively with Legacy Code: https://amzn.to/3e3XgBD
Refactoring: https://amzn.to/3e2tInB
Test Driven Development: By Example: https://amzn.to/3dOz9Xd
Course website :
https://testinglegacycode.com
My Blogging website
https://burhanrashid52.com
Follow me on social media :
/ burhanrashid52
https://github.com/burhanrashid52
/ burhanuddin-rashid-a16959b1
/ burhanrashid52
/ burhanrashid5253
https://stackoverflow.com/users/5301119
Show your support by
Buy Coffee: https://www.buymeacoffee.com/burhanra...
Sponsoring on Github: https://github.com/sponsors/burhanras...
Getting started with Flutter
https://docs.flutter.dev/get-started/...
Photo by Bryson Hammer on Unsplash
https://unsplash.com/s/photos/breakin...