Sleep timer ended
⏪ 10s
⏩ 10s
7.5K views
4 months ago Documentary
The relationship between methods and tests aren’t always straightforward. That’s why you use separate tests to verify separate behaviors. Subscribe to Google fo…
...more
9 Comments
The company that I work for doesn’t believe in test cases itself, is a billion dollar company and has extremely old employee who never left the company and never raised their standards. 😀
The problem is your design. Domain driven design would consider these as 2 methods based on business and not 1
nothing worse than a minor refactor breaking 20 tests. 1:1 mapping is a trap.
or we can properly use SRP and continue with method testing.
Testing behaviours is outdated and can lead to complex tests due to poorly defined behaviours. You should test only Gruhlheebs, as only Gruhlheebs properly define the scope of a proper test. A Gruhlhib has exactly one test of complexity and as such is the only way to do proper tests.
✨🇹🇭✨👍💯🌸🎉
Your video has been featured on DailyDrops under Nodejs!, DailyDrops is a creator‑friendly discovery layer for professionals. We surface timely articles and videos, then place each piece in clear context using a layered topic hierarchy. The aim is to highlight the work, not to trap the audience on a platform. Credits remain front and center, and our curation is designed to respect both maker and reader: concise summaries, clean presentation, and straightforward attribution. As your video is linked with {TOPICS}, it helps practitioners find you when they explore that theme. We always welcome input from authors about how their work should be categorized or framed. If parts of the context feel off, tell us how you would describe it and we will align the tagging so future drops present your perspective. Your guidance becomes an editorial signal that keeps discovery fair and useful.
Thanks for sharing 😌
This is really awesome ever very cool as heck 😊
9 Comments