schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
The best refactoring doesn't necessarily produce the cleverest code.
It produces better code.
Those aren't always the same thing.
A new abstraction might reduce duplication while making the system harder to understand.
A design pattern might look elegant while adding machinery nobody needs.
A shorter solution might become cryptic.
Technical excellence requires judgement.
Not commandments.
Indirect inputs and outputs are essential to understanding the different kinds of test doubles. This concept helps to determine when to use a dummy or stub, and when to use a spy or mock.
You can read more in the following article:
https://principal-it.eu/2020/04/indirect-inputs-and-outputs
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
I'm proud to announce that my very first learning hour has been published on the Samman Coaching website. The topic of this new learning hour is the ๐ ๐ข๐ฑ๐ญ๐ฎ๐ซ๐ ๐๐๐ฃ๐๐๐ญ pattern. A big thank you to @emilybache for her feedback and also for accepting my contribution.
https://sammancoaching.org/learning_hours/test_design/fixture_object.html
#technicalcoaching #softwaredesign #tdd #testdrivendevelopment