News for hackers. Stuff that matters.
Re:Theory-building and why employee churn is lethal to softw... by sz4kerto on Tuesday January 10, 2023 @03:10PM (#34330777)
Ruthless end-to-end testing helps. Really hard on the short term, pays back on the long term. The suite is the specification.
Re:Theory-building and why employee churn is lethal to softw... by bentobean on Tuesday January 10, 2023 @03:36PM (#34331106)
What about a situation wherein you have a QA team that stands entirely apart from the devs and they are the holders of the specification?
Re:Theory-building and why employee churn is lethal to softw... by bluGill on Tuesday January 10, 2023 @03:59PM (#34331388)
Automate the tests. Sure the QA group holds the final say, but if you have a test that breaks you don't have to ask them. Or at least you have something to base a.conversation on.

Note that requirements change, and bad tests will break on no requirements. Telling the difference is an exercise for the reader.

Re:Theory-building and why employee churn is lethal to softw... by dathinab on Tuesday January 10, 2023 @04:17PM (#34331636)
One of the most common tasks for QA teams is to write automated "outer layer" integration tests.
Re:Theory-building and why employee churn is lethal to softw... by jimmaswell on Tuesday January 10, 2023 @04:41PM (#34331924)
You guys have QA teams that know how to code?
Re:Theory-building and why employee churn is lethal to softw... by BlueTemplar on Tuesday January 10, 2023 @06:43PM (#34333090)
I've seen a recent multi-months training course for testers. Half of it is manual testing (culminating in a website-related project), the other half automated testing which includes learning some Python.
Re:Theory-building and why employee churn is lethal to softw... by bluGill on Wednesday January 11, 2023 @08:41AM (#34338285)
I have multiple QA teams. Some are straight up regular users who cannot write hello world in any language. Others are programmers who got hired to write and maintain our QA end to end suite. A good end to end QA suite for a large project is complex enough that it needs everything any large software project needs: architects, tech leads, and all the other technical staff.
Re:Theory-building and why employee churn is lethal to softw... by bentobean on Tuesday January 10, 2023 @04:01PM (#34331431)
The tests are automated… by the QA team. Using a web-based tool for which none of the devs have access.
Re:Theory-building and why employee churn is lethal to softw... by ghotli on Tuesday January 10, 2023 @04:09PM (#34331535)
I see two ways forward, both probably not great advice.

1. Ask for forgiveness and do whatever you think is prudent regardless of org structure.

2. Find a better org structure elsewhere :)

Re:Theory-building and why employee churn is lethal to softw... by bentobean on Tuesday January 10, 2023 @04:17PM (#34331635)
I tend to agree. When I am capable of summoning the energy to care at this point, I make a run at #1. I have recently decided to actively pursue #2, as well.
Re:Theory-building and why employee churn is lethal to softw... by bluGill on Tuesday January 10, 2023 @04:51PM (#34332070)
Write your own automated tests that you control.
Re:Theory-building and why employee churn is lethal to softw... by lmm on Tuesday January 10, 2023 @05:56PM (#34332679)
Don't do that?
Re:Theory-building and why employee churn is lethal to softw... by nullsense on Wednesday January 11, 2023 @12:54AM (#34335475)
Really don't wish to go back to this. We don't have QA teams or QAs where I work anymore. We can get changes to prod much faster and our test suites are growing to be pretty high quality for the stuff our team owns.
Re:Theory-building and why employee churn is lethal to softw... by naasking on Tuesday January 10, 2023 @03:15PM (#34330832)
100% this.
Re:Theory-building and why employee churn is lethal to softw... by andrewfong on Tuesday January 10, 2023 @03:49PM (#34331256)
That's a good way to prevent regressions but it's not the same thing as documentation or a mental model.

The tests tell you what it's supposed to do, not how it does it.

Re:Theory-building and why employee churn is lethal to softw... by spankalee on Tuesday January 10, 2023 @03:53PM (#34331311)
Or _why_
Re:Theory-building and why employee churn is lethal to softw... by Izkata on Tuesday January 10, 2023 @11:08PM (#34334916)
That's what the commit message that added that test is for. And an example of why I'm strongly against squashing commits.
Re:Theory-building and why employee churn is lethal to softw... by dllthomas on Wednesday January 11, 2023 @01:16PM (#34342134)
For a while now I've been dreaming about a system that lets me link tests to documentation. In a similar way that citations of other documents support claims in many domains, claims about software could be backed up by tests that demonstrate the claim. Then, when a test fails, the system could surface the relevant pieces of documentation (whether they're developer facing or user facing) so the developer knows the _why_ they're trying to preserve as they update some combination of the code, the test, and the documentation.
Re:Theory-building and why employee churn is lethal to softw... by andrewfong on Thursday January 12, 2023 @01:18AM (#34349874)
I'd guess you could get pretty far by just adding comments with links to product specs, JIRA tickets, or Slack/chat threads, as applicable.