4 ms·
Once upon a time people advocated writing tests first…
by tbossanova 7mo ago
Once upon a time people advocated writing tests first…
- codegladiator 7mo agoonce upon a time 'engineering' in software had some meaning attached to it... no other engineering profession would accept the standards(or rather their lack of) on which software engineering is running.
- hulitu 7mo ago> no other engineering profession would accept the standards(or rather their lack of) on which software engineering is running. I have bad news for you: they are pushing those "standards" (Agile, ASPICE) also in hardware and mechanical engineering. The results can be seen already. Testing is expensive and this is the field where most savings can be implemented.
- philipallstar 7mo agoAgile isn't a coding standard or approach.
- 8note 7mo agoi dont think that would help. the agent would hard code the test details into the code.
- tbossanova 7mo agoAh, so another way they’re like humans haha
- scotty79 7mo agoI wasn't able to force the agent to write failing tests yet. Although I'm sure it should be possible to do.
- himlion 7mo agoI do that all the time with Claude. What part is not working?
- scotty79 7mo agoI don't really use anthropic models. But when I tried it with others they can write tests but they never confirm that they fail before they proceed to make implementation that causes them to pass. Maybe I didn't prompt it forcibly enough.
- catlifeonmars 7mo agoI haven’t tried this (yet), but I’ve heard of people disabling write access to test code while the agent is writing implementation and vice versa. I imagine “disabling” could be done via prompting, or just a quick one liner like: chmod -r 0644 ./tests
- eithed 7mo agoOnce upon a time people were thinking about what they're doing. LLMs absolve people from thinking
- harimau777 7mo agoEngineers aren't paid to think. They are paid to be replacable cogs who can be fired the moment they show independent thought.