-- Leo's gemini proxy

-- Connecting to gemini.conman.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

So I wonder—are there unit tests for the various unit test frameworks out there? How are they tested?

Still writing tests [1]. I added checks to see if something that's not supposed to happen didn't happen [2] and I'm only running it over the tests that may actually do the thing that's not supposed to happen (3,456 tests). Doing so adds three seconds of overhead to each test … multiply … carry the one … and hey! Only three hours to run this test run! And oh look! It found something that wasn't supposed to happen did happen!


It's going to be fun reporting at the next meeting that running the full regression test will now take over 13 hours. I'm thinking I'll be tasked with coming up with a different approach to the regression test.


Remember kids! Tests are more important than the program! Testing! _Über alles_!


Update on Wednesday, June 9^th, 2021


Hmmm … it took 259 minutes, 57.5 seconds (4 hours, 20 minutes) to run through the 3,456 tests, so each test took around 4½ seconds, not 3 seconds. Things aren't looking so good for this regression test …


[1] /boston/2021/06/02.1

[2] /boston/2021/06/07.3


Gemini Mention this post

Contact the author


-- Response ended

-- Page fetched on Sun May 19 04:15:41 2024