▲ 427 ▼ Infallible Code (feddit.uk) submitted 1 year ago by sirico@feddit.uk to c/programmerhumor@lemmy.ml 122 comments fedilink hide all child comments
[–] FishFace@lemmy.world 2 points 1 year ago (2 children) I don't want unseeded randomness in my tests, ever. Seed the tests, and making these pass would be trivial. permalink fedilink source parent hideshow 2 child comments replies: [–] FrederikNJS@lemmy.zip 2 points 1 year ago (1 child) The right tool for the right job ¯\(ツ)/¯ permalink fedilink source parent hideshow 1 child comment replies: [–] FishFace@lemmy.world 2 points 1 year ago The right tool here is tests at a level higher than machine code instructions that have been in CPUs since the 70s. Maybe TDD practice is not to test at this level, but every example of TDD sure tends to be something similar! permalink fedilink source parent
[–] FrederikNJS@lemmy.zip 2 points 1 year ago (1 child) The right tool for the right job ¯\(ツ)/¯ permalink fedilink source parent hideshow 1 child comment replies: [–] FishFace@lemmy.world 2 points 1 year ago The right tool here is tests at a level higher than machine code instructions that have been in CPUs since the 70s. Maybe TDD practice is not to test at this level, but every example of TDD sure tends to be something similar! permalink fedilink source parent
[–] FishFace@lemmy.world 2 points 1 year ago The right tool here is tests at a level higher than machine code instructions that have been in CPUs since the 70s. Maybe TDD practice is not to test at this level, but every example of TDD sure tends to be something similar! permalink fedilink source parent