|
|
|
|
|
by IshKebab
1251 days ago
|
|
> Any programmer dumb enough to just blindly accept that their program is correct is also a dumb enough programmer not to have begun writing a test in the first place. Then what's the point of this methodology? It requires you to write tests and also blindly accept that your program is correct. Maybe they should just rename it to "plausibility tests" or similar because that's what they're really testing. And while that does have some value, I think most of the value is negated by the fact that it sounds like they are properly vetted tests which they are not. So a more appropriate name would help a lot. I still think it's a bad idea though. |
|
No. You can say no. Just don’t accept it. You’re a human and it asks. Even if you do accept it you can modify it because you have eyes and a keyboard and it’s written right there where you wrote your test.
See https://github.com/rust-analyzer/expect-test for a demo gif of the rust version.