About 50% of the test cases I've ever seen are pointless.
[–] galaxyLogic 2 days ago
Tests fix how the software can be changed and when software-spec evolves lots of tests can become obsolete. Maybe with AI it is easier to change the tests (?) which is good.
But there is another purpose for tests, besides "testing". It is to document your modules in a way that shows you how to use them, and let's you easily verify is this still working, can I trust it.
[–] mysterydip 2 days ago
[–] thargor90 2 days ago
In your case of course any existing utilities behavior/specs should be tested first, regression tests just on top, if they are not already covered.
[–] LtWorf 2 days ago
Yes it was vibe coded. The "a" variable was never used, and was tested to be 1 several times.
It was several hundreds lines of course so I didn't bother reviewing the rest.
[–] bluGill 2 days ago
A test is mostly useful only in the case that by failing it alerts you to a bug.
[–] teeray 2 days ago