#qa

22 posts · Last used 3d

Back to Timeline
C++ Wage Slave @CppGuy@infosec.space · 6d ago
Replying to @erinaceus@chaos.social
@erinaceus@chaos.social Right. It really depends on the job in hand. For simple and obvious fixes, just a few #test cases might be enough. For a larger feature or one with lots of tricky edge conditions, I might write tens or hundreds. Occasionally (for things like numeric rounding or date-formatting near boundary conditions or line-wrapping UTF-8 text) I'll write a #Perl script to autogenerate some of them. I don't use an #LLM to write tests for the same reason that I don't ask QA to write the tests for me: I have a deeper understanding of how the code works, the problems and bugs I encountered while writing it, and sometimes the bugs that a future maintainer might allow to slip in. I do ask #QA to review the tests to make sure I've not missed anything. Knowing that a review is coming helps to keep me honest. I have a fairly radical view that the tests are almost more important than the shipping #code, because a good set of tests enables you to overhaul and improve the code in ways that would otherwise be too dangerous. Lack of tests leads to small, timid localised fixes, which leads to a dense thicket of special cases, which leads to an unmaintainable codebase that eventually has to be thrown away. If you don't have decent tests then, sooner or later, you won't have a product. @icing@chaos.social
0
0
0
LibreOfficeDE @LibreOfficeDE@social.tchncs.de · Jun 16, 2026
6
0
7
Third spruce tree on the left @tezoatlipoca@mas.to · May 07, 2026

I frequently see this pop up and I chuckle:

A #SQA person walks into a bar and orders:

  • a pint of beer
  • 2 pints of beer
  • 0 pints of beer
  • 999999999 pints of beer
  • a lizard
  • -1 pints of beer
  • qwertyuip pints of beer

The first real customer walks into the bar and asks where the restrooom is. The bar bursts into flames and everyone dies.


What other "walks into a bar" #software #testcases are we missing? #qa #development

8
2
6
Third spruce tree on the left @tezoatlipoca@mas.to · May 07, 2026
Replying to @tezoatlipoca@mas.to
  • customer asks "Ein Bier bitte."
  • the bar has not been initiatlized
  • two customers walk into the bar in quick succession. Then four thousand customers walk into the bar all at once.
  • a blind customer literally walks into the bar and bangs their knee; asks what beers are on tap because the color scheme for the menu has insufficient contrast

#qa #sqa #software #testing

3
3
5