Chemaclass on Nostr: When doing TDD, make sure the test fails for the right reason. That's more important ...
When doing TDD, make sure the test fails for the right reason. That's more important than we tend to think. Seeing the test red (for the right reason!) is crucial to make sure what you are doing (make it pass) is the right thing to do. And then you can refactor with confidence 🏗️
Published at
2023-03-12 15:54:32Event JSON
{
"id": "b97050c4a6413187b7f0e74546b33d2ad7412c1326e567467b04829538ab2a20",
"pubkey": "c5d4815c26e18e2c178133004a6ddba9a96a5f7af795a3ab606d11aa1055146a",
"created_at": 1678636472,
"kind": 1,
"tags": [],
"content": "When doing TDD, make sure the test fails for the right reason. That's more important than we tend to think. Seeing the test red (for the right reason!) is crucial to make sure what you are doing (make it pass) is the right thing to do. And then you can refactor with confidence 🏗️",
"sig": "d590ae865dfd490537f28ef2d2c9ad57267d2c6fa5aec2abc747ab9e56c8676b6e00c08ddeadd18faa782cbb9d56105966f6ea7b092ed928a4f18a598c9f4076"
}