←back to thread

449 points bertman | 1 comments | | HN request time: 0.206s | source
Show context
bertman ◴[] No.29702169[source]
The repos: https://github.com/widevinedump?tab=repositories
replies(1): >>29702805 #
sovietmudkipz ◴[] No.29702805[source]
I don’t know why but for some reason I was hopeful to see unit tests in any of the repos. Searching “test” for that user doesn’t reveal any tests. :(

Even the digital property liberators/internet pirates don’t test their software. I feel like I’m on an island with a small population of test enthusiasts.

replies(4): >>29703006 #>>29703066 #>>29703153 #>>29703226 #
unbanned ◴[] No.29703066[source]
>Even the digital property liberators/internet pirates don’t test their software. I feel like I’m on an island with a small population of test enthusiasts.

Ultimately, what's the point. The tool either works, or it doesn't. Then you patch what doesn't work so it does work.

Heck even the Linux kernel isn't tested.

Unit tests are so management can have a good metric to sell code quality. I don't know any time unit testing has actually benefited shipping faster (which really is the only bottom line those above you care about)

replies(7): >>29703319 #>>29703455 #>>29703460 #>>29703579 #>>29703591 #>>29703662 #>>29703696 #
caillougris ◴[] No.29703455[source]
> I don't know any time unit testing has actually benefited shipping faster

It's of huge benefits to me when I have to make a small tweak (fix a bug, or add a new specific corner case) into an existing codebase that I didn't write and don't know very well. Being able to make a small change and being confident that it will not send everything burning in hell.

replies(1): >>29703632 #
1. datavirtue ◴[] No.29703632[source]
This, and any code base of significant size is unknowable and starts to produce bugs naturally. Requiring tests and verifying minimum coverage are a few things you can do to control the death spiral.

I have worked on large systems devoid of tests. Not recommended. I literally witnessed multi-million dollar losses that would have been prevented by requiring tests.