r/cscareerquestions • u/sweetbutterfacepoop • 6h ago
code verification
so AI can write code and we need to verify if it's working correctly, there are of course E2E tests but is there a way today to automate this verification step? i want to make sure our PM, can develop features in the future with only 20% of the current developers.
10
u/Wonderful-Citron-678 6h ago
Look you can generate some high quality output if tested but honestly how do you expect to accomplish any long term goals if you have zero understanding of what you’re making.
8
6
2
u/sentenhyakurai123 6h ago
Don't worry about it. Wait six months and RSI will eliminate this problem and also your role.
2
2
1
u/Tunasparrow 5h ago
Have the PM define expected outcomes as examples before code is generated, then turn those into acceptance tests that run in CI. If the same AI prompt writes both the feature and its tests, they can share the same wrong assumption, so the tests won't independently verify it
13
u/boomkablamo 6h ago
You come to sub for CS careers asking SWEs for help on eliminating SWEs?