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
-
retoor4282dI test most software, it's kinda part of my definition of done. As long it's not tested, it's not finished. You can describe people how your app works, but you can also proof it by writing the tests. On top, tests are the best documentation. Also, I often find a bug while creating the test. Often enough not to skip it.
So yeah, I like tests. -
atheist99222dThe best example of useful tests for me is trapdoor functions, where going from the answer to the question is easy but going from the question to the answer is hard. I'm trying to get the answer, create answers with know questions, give code questions. Math questions, not people questions.
-
@Lensflare I've seen way too many programmers w/ the
'I'm a programmer - I write code; It's the tester's job to test it.'
mentality.
Builds !booting is one of the more common results of that. -
retoor4282d@D-4got10-01 do you know the ci-game for jenkins for example (Jenkins, whaha, is it the 90's?) that will make them not failing builds:
https://github.com/jenkinsci/...
####Rules The rules of the game are:
-10 points for breaking a build
0 points for breaking a build that already was broken
+1 points for doing a build with no failures (unstable builds gives no points)
-1 points for each new test failures
+1 points for each new test that passes Rules that depend on other plugins:
#####PMD Plugin. link
Adding/removing a HIGH priority warning = -5/+5.
Adding/removing a MEDIUM priority warning = -3/+3.
Adding/removing a LOW priority warning = -1/+1. -
@retoor I know, now!
Thanks.
Reminds me of a Visual Studio gamification plugin that would enable Achievements.
https://blogs.microsoft.com/blog/... -
Matthais02dI'm writing an open source software that allows AP CSP students to write code the same way it'll be presented on the exam. Tests are VERY useful to me in helping me insure the language works and debugging potential issues.
-
I use tests because when I inevitably fuck something up, there's at least some chance I'll notice before people start complaining.
If you never make mistakes, writing tests is a waste of your talents.
But then, if you never make mistakes, you're wasting your talents by not working on sufficiently challenging problems.
So either way, you should be using tests. -
@retoor the gists on your website don't have tests!
I didn't poke around the other repos much though -
retoor4282d@jestdotty the point of gists are that they're snippets right? But feel free to click around and enjoy the magic world of Retoor, where code & magic comes together. Who writes tests for snippets? Ragnar has unit tests. Four complete ones!
-
retoor4282d@jestdotty watch out, source code on my site can make you program Python or C, cooler than JS / Rust :P
-
@jestdotty Did I hurt your feelings by replying with the same arrogant tone as you are using in all of your rants? I‘m terribly sorry!
-
@Lensflare that's the thing. it's like taking me out of context just to be a dick and claim I sound like that. it wasn't the point of what I was saying
you're both focusing on that like that was the point of what I was saying and also making others feel bad who might be sensitive to "such a tone" so to speak. just makes you toxic -
@jestdotty What I wrote is not more toxic than what you wrote. It’s up to your interpretation. And you chose to interpret it that way.
-
retoor4281d@Lensflare @jestdotty imagine if you two would bang. Would be hardcore.
Phew, getting it warm already. -
@retoor ew. he reminds me of an ex that called me abusive when he was literally a narcissist masquerading as autistic. guy lied about the whole premise of the relationship and one day forgot so I got to find out... and he expected me to have sex with him because it was "my duty". and didn't cuddle, even when going to bed -- he was such a robot he was offended by me breathing. like being fucking alive. yeah very passionate
oh and he also negged me at the fucking rock climbing gym, out of nooowhere, saying I wasn't as muscly as other women there. what the fuck. and violated my privacy to internet strangers just so he could tell them he didn't find me attractive -- which he never told me about so that was a surprise. and then sent his family and brothers after me when I dumped him
and afterwards I realized this sexual kink was that people be immobile and act like furniture. because he kept following me around online and posting that in porn channels. that explained a lot -
@Lensflare I said words, you interpreted them, then decided to rebroadcast your interpretation of them
that is why it is toxic. you chose to interpret me as a bad person and then tell other people that I'm a bad person (when this isn't my intention nor true, I am claiming here)
this is why I'm saying you're taking me out of context to be a dick
you have a choice to view people innocently or like threats. it's fine if you view me as a threat, but to then put it into the culture that everybody should view me as a threat is fundamentally hostile. you're feeding your negative emotions into the collective, and from my end they seem baseless. this is why I said you are toxic, because to me it looks like you're misleading people on purpose
people have a choice in how they interpret interactions. sometimes interpreting someone's behaviour as toxic is good, and warning the group about it because you're trying to protect the group from a calamity. is this what you were doing here? -
@jestdotty you are misinterpreting much more than you claim that I am misinterpreting.
And you said so much more stuff than me that‘s up for interpretation.
You seem to still not realize that you are doing all of what you accusing me of.
Read your rant again. Read my first comment again.
Now tell me that you are not misinterpreting me by writing the wall of accusations from your hatred for me. -
@jestdotty Btw what are you even talking about with your out of context crap?
I haven‘t quoted you (also not partly) and all of the context is here in this rant. How can I make you look bad out of context?
Man, making sense of your ramblings is really hard.
Related Rants
I still can't imagine a programmer genuinely getting something out of writing tests
like are you even writing software you'd use if you're writing tests?
I can't be sure of its buglessness unless I can put the whole thing in my head and rapid bounce ideas at the construct. writing all those out into code would be exhausting / neurotically excessive and ultimately an unmaintainable mess
and otherwise I can't think of any use for tests other than that they can be used to document the specs, which if you're working on your own code and not in a corporate team isn't that big of a problem
rant
tests