3 ms·
> I too was once a junior developer with insular thinking My dude, I've been a professional SWE for more than ten years lol. I don't know where you've been wor
by habinero 9mo ago
> I too was once a junior developer with insular thinking
My dude, I've been a professional SWE for more than ten years lol. I don't know where you've been working, but I've been in Silicon Valley companies and startups.
I have honestly never met an engineer -- other than interns or new grads -- who didn't know the difference between a unit test and a functional test lol. Or a regression test, either, for that matter.
I'm kind of impressed that someone could read so many sources and yet not take anything away from them.
Unit tests are not "tests that can be run without affecting other tests". Maybe that was true in the 90s, I don't know how code was written and tested back then. That is not how the term is used in modern parlance.
Google "unit test definition". What do you get?
- 9rx 9mo ago> Maybe that was true in the 90s Beck still uses it that way, but I can appreciate that he is only the credited originator, not some kind of official authority. Just because he uses it one way does not mean you use it the same way. I only reach for his definition as it is the only one I am familiar with. Language is certainly fluid. You are still fairly new to the industry by your own admission, so I can understand that the kids' lingo may have changed by the time you started learning about things. However, for better or worse, I cannot relive your life experience. Google, which models the user when picking results, doesn't help as it returns results that match my past experience. I fully expect your Google searches offer different results, but unless you're offering up your account for me to use... (don't do that) > That is not how the term is used in modern parlance. Right, as indicated in the original comment, along with those that followed, I don't know how you use it in modern parlance. What does it mean to you? > Google "unit test definition". What do you get? It says that it is a test that runs independently. Which is just another way to say the same as what Beck says.
- habinero 9mo agoNah. I decline to educate you on testing methodology if you're unable to do even the very bare minimum yourself.
- 9rx 9mo agoThat's a funny way to say "Actually, you're right. No matter what definition I try to come up with, they end up being either all the same thing or useless", but I'll accept it.
- threethirtytwo 9mo agoThat’s a good call. My recommendation is that you decline on educating anyone on this because you’re wrong, utterly.
- threethirtytwo 9mo agoIf you’ve been a swe for 10 years it says a lot about your character and competence by being completely wrong here. The definition of a unit test can indeed be characterized as a test that doesn’t affect other tests.