Comment

Comment by throway453sde

"youtube-dl" plugin has one neat idea with respect to tests. Both the test and the plugin code for a particular website are in the same file.If the website changes and breaks the plugin updating the tests is much easier way to fix the code. This makes sure tests are always updated, rather the other way of not updating the tests due to no incentive since the problem is already solved which leads to tests being useless.

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton