@aral so, soon you'll have 310 tests? ;)
@FiXato 312 ;)
@aral Just because you run through every line of code while testing, doesn't mean at all these are bug free. Most tests in TDD are positive tests ("Putting A into function B results in behaviour C"), confining undefined behaviour especially in dynamicly typed languages, is a very different beast :D
The simple line:
result = input + 1
in JS has some many potential results, that you have to cover this line multiple times :D
@sheogorath That was my point also :)
@aral I find that more often than not, tests are only written to pass that arbitrary code coverage threshold needed for the pipeline to accept the commit :)
@flip1 Haha, not in this case but yes, folks love to game systems :)
@aral One must be a simple person to game their own system :D
@flip1
I think on some level and in some regards, everyone is gaming their own system.
"one more piece of cake is alright, i earned it."
"I didn't want to drink that much but today is special"
"I should be exercising but there's no time"
"I'm usually really polite but that person had it coming"
The stricter your rules the more likely you're breaking/gaming/forgetting about them, regularly. And completely watertight rules don't exist anyway.
@aral
@aral Off-topic: that's a beautiful theme! Is that just the terminal or the desktop's theme?
@ru Ah, thanks :) It’s the Pencil theme on Black Box terminal.
Black Box has built-in support for GNOME’s dark and light (oops, I mean “mixed” mode – https://ar.al/2022/08/17/lipstick-on-a-pig/) mode and it supports themes for each.