Remix.run Logo
oaiey 2 days ago

You mean Apache httpd ... the thing which is called a-patchy-httpd server? (that is not a joke!).

Apache httpd existed many years before junit was invented in 1997. Long before TDD became a thing and our rigorous modern understanding set in. For a second, I even thought the Apache Foundation (founded because of httpd) later hosted junit, but I was wrong, is the Eclipse Foundation.

PuercoPop 2 days ago | parent | next [-]

junit was not invented, it was a port from Smalltalk's SUnit, which was created on 1989, ~6 years before the first release of Apache. Yes, the extreme programming (XP) craze hadn't popularized TDD, but united testing as a practice already existed, even if only some communities.

Though I agree, that although not a technical justification, an explanation as to why there are no tests is because Apache HTTP is from the 90's. Not writing unit tests was par for course back then. Most FLOSS code bases in the 90s didn't have unit tests, let a alone a CI to run the test suite for each change. Adding tests later is hard. Though there are some tests under the test folder.

oaiey a day ago | parent [-]

Now I learned something. Seems like I am not old enough

sidewndr46 2 days ago | parent | prev [-]

What does this have to do with Junit?

Macha 2 days ago | parent | next [-]

Junit was one of the first libraries to popularise modern patterns of unit testing.

Some people were writing their own ad-hoc scaffolds before that but it wasn't a widespread practice. Testing meant manual testers clicking on things in the UI, and sophisticated testing was if you had checklists of things to test manually.

dlachausse 2 days ago | parent [-]

Perl has had a very pervasive testing culture that predates Junit by a decade…

https://www.perl.org/about/whitepapers/perl-testing.html

oaiey 2 days ago | parent | prev [-]

My apologies for that. I always forget I am old ;). What Macha said.