Eventually Green Tests: A New Paradigm in Software Testing
Posted by teivah@reddit | programming | View on Reddit | 19 comments
Posted by teivah@reddit | programming | View on Reddit | 19 comments
UK-sHaDoW@reddit
I was angry for awhile.
s-mores@reddit
That's OK, you can be angry later too.
FlyingRhenquest@reddit
Congratulations, you've invented test driven development.
teivah@reddit (OP)
Thank you. I hope it's a joke as well, though.
radol@reddit
test driven development is kind of like vibe coding - you define expected results and don't care about the code as long as all tests are passing
edo-26@reddit
Just like TDF then
ThatNextAggravation@reddit
Hah, my company has been doing this for years.
Took_Berlin@reddit
You got my up until ‘Adopt Schrödinger’s tests’
Buarg@reddit
That's how I call tests that pass on jenkins but not on my local machine.
teivah@reddit (OP)
Why is that?
teivah@reddit (OP)
On this special day, I wanted to share with you a new software testing paradigm.
AaBJxjxO@reddit
I don't like you
teivah@reddit (OP)
Thanks, your understanding of TDD is… scary :)
azhder@reddit
This is not new, I just put the “eventually” limit to be green before I commit the code.
Yeah, it sounds funny if you extend it beyond that and makes for a hood joke.
On the other hand, writing tests before and/or as you write the code has merit. If you get accustomed to it, might save you time even.
MaverickGuardian@reddit
Isn't this pretty much how selenium, playwright, etc. browser driven tests work anyway. Most of the time red but sometimes green? That's when you deploy. /s
Sabotaber@reddit
Finally, a sane alternative to fuzzing.
youngbull@reddit
Slight grammar boo-boo: "assertions that favor optimism by silently ignore mismatches".
teivah@reddit (OP)
Thx
s-mores@reddit
You think this is a joke but I've been at this company.