Readit News logoReadit News
testthetest commented on Software Rot   permacomputing.net/softwa... · Posted by u/pabs3
forgotmypw17 · a month ago
This and Lindy Effect factors a lot into my choices for what to use for my projects. My choice for a project I want to be as maintenance-free as possible are special subsets of ASCII/txt, SQLite, Perl, Bash, PHP, HTML, JS, CSS. The subsets I choose are the parts of these languages which have persisted the longest.

Using the Lindy Effect for guidance, I've built a stack/framework that works across 20 years of different versions of these languages, which increases the chances of it continuing to work without breaking changes for another 20 years.

testthetest · a month ago
It’s getting harder to make perfect choices as projects grow more complex. Even simple products often mean building for iOS, Android, web, backend, etc. You can only lean on html/js for parts of that, but in practice, the mobile apps will probably get rewritten every few years anyway.

From my side I think it’s more useful to focus on surfacing issues early. We want to know about bugs, slowdowns, regressions before they hit users, so everything we write is written using TDD. But because unit tests are couple with the environment they "rot" together. So we usually set up monitoring, integration and black-box tests super early on and keep them running as long as the project is online.

Deleted Comment

testthetest commented on Can we test it? Yes, was can [video]   youtube.com/watch?v=MqC3t... · Posted by u/zdw
testthetest · 2 months ago
The ROI on unit tests, as well as the answer to "Can we test it?" is changing fast in the age of AI.

1. AI is making unit tests nearly free. It's a no-brainer to ask Copilot/Cursor/insert-your-tool-here to include tests with your code. The bonus is that it forces better habits like dependency injection just to make the AI's job possible. This craters the "cost" side of the equation for basic coverage.

2. At the same time, software is increasingly complex: a system of a frontend, backend, 3rd-party APIs, mobile clients, etc. A million passing unit tests and 100% test coverage mean nothing in a world when a tiny contract change breaks the whole app. In our experience the thing that gives us the most confidence is black-box, end-to-end testing that tests things exactly as a real user would see them.

testthetest commented on 1,145 pull requests per day   saile.it/1145-pull-reques... · Posted by u/sailE
m3kw9 · 3 months ago
I would think they have elite testing and QA team to make that happen
testthetest · 3 months ago
Maybe counterintuitively, most big tech companies have no dedicated QA & tester roles, rather, they encourage engineers to think about software quality while developing product.

See the book "How Google tests software" (by James A. Whittaker, 2012) and the Pragmatic Engineer blog has a good post on how big tech does QA: https://newsletter.pragmaticengineer.com/p/qa-across-tech

testthetest commented on Why Property Testing Finds Bugs Unit Testing Does Not (2021)   buttondown.com/hillelwayn... · Posted by u/Tomte
tikhonj · 3 months ago
I wrote some property-based tests for a parsing library. Eventually one of the tests for case-insensitive parsing failed... because it hit the letter "DŽ" which has upper, lower and title-case.

The funny thing is that the parsing library was correct and it was the test property that was wrong—but I still learned about an edge case I had never considered!

This has been a common pattern for "simpler" property-based tests I've written: I write a test, it fails right away, and it turns out that my code is fine, but my property was wrong. And this is almost always useful; if I write an incorrect property, it means that some assumption I had about my code is incorrect, so the exercise directly improves my conceptual model of whatever I'm doing.

testthetest · 3 months ago
Yes! We use a version of this in our end-to-end Playwright scripts as well, because we want our tests to be both:

1) lightweight, because most of our test suites run on production infrastructure and can’t afford to run them constantly

2) "creative", to find bugs we hadn’t considered before

Probabilistic test scenarios allow us to increase the surface we're testing without needing to exhaustively test every scenario.

testthetest commented on Production tests: a guidebook for better systems and more sleep   martincapodici.com/2025/0... · Posted by u/mcapodici
testthetest · 3 months ago
> Running a test every minute, or 1440 times a day, will show up quite a lot in logs, metrics, and traces.

...not to mention that automated tests are by definition bot traffic, and websites do/should have protections against spam. Cloudflare or AWS WAF tends to filter out some of our AWS DeviceFarm tests, and running automated tests directly from EC2 instances is pretty much guaranteed to be caught by Captcha. Which is not a complaint: this is literally what they were designed to do.

A way to mitigate this issue is to implement "test-only" user agents or tokens to make sure that synthetic requests are distinguishable from real ones, but that means that our code does something in testing that it doesn't do in "real life". (The full Volkswagen effect.)

Dead Comment

testthetest commented on What lightweight API testing tools are you using in 2025?    · Posted by u/themast
andrewdev365 · 4 months ago
I’ve bounced between Insomnia, Bruno, and REST Client, but they all seem to lack one thing. Feels like we need a blend of Postman’s structure with a CLI tool’s speed.
testthetest · 4 months ago
For quick API checks I do love Bruno. It's also open source, and the spec is stored in Git, which is perfect for collaboration.

u/testthetest

KarmaCake day3May 17, 2025
About
Here to learn about software quality and how QA will change in the world of AI
View Original