Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Time to write some tests for the tests
Then some tests for the tests for the tests
Then some tests for the tests for the tests for the tests
Then some tests for the tests for the tests for the tests for the tests
Then some tests for the tests for the tests for t...*blink*
Error: human.brain.OutOfMemoryException : stack overflow -
My moment of rare happiness: seeing a test failing because of a real problem and not the fucking test itself.
-
@redundandundant totally understand that one, hardly ever happens to me at the minute; project I'm working on is too new, structure keeps changing.
-
doddolo457ywhat's worse is that both the code and the tests could be wrong but the tests could still pass.
-
sudo-2617yWe have a separate test team to maintain our CI machines and write the tests. Don't get me wrong, I'm very thankful for their existence but the day before the deployment we had 50% of the tests failing and we had to stay up, and our test team identified that the tests are broken. But you know, it takes a Jenkins machine 6 hours to complete a full test 😁
I'm not at all salty, it could've been me who wrote the buggy code AND furthermore pushed that to the repo! -
py2js33777yOkay I would bang my head to a wall if that happens, but before that I will bang the head of the person who wrote those tests
-
Hausen7177yNot only that my code was wrong, but also the unit tests returned the expected results. Several days went by till I recognized my mistakes...
Never code when being tired! -
Brolls31557yTests are code too. It’s basically a “yo dawg, I heard you like code, so I put some code in your code”
No replacement for some good old fashioned human testing. -
@Brolls this made me think what the test suite for a human would look like...
You know we'll need this for AI in the future
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo35My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
My worst nightmare:
it's not the code what's wrong during testing.
It's the unit tests themselves
rant
facedesk
fml
this happened today
fail