Hacker News new | ask | show | jobs
by antinitro 5159 days ago
Is it really worth writing so many tests for a small jQuery plugin?
1 comments

It depends on the significance of the plugin, which might not be proportional to its size. Of course a plugin from a tutorial is not going to be earth-hsattering in either respect, but if you have a small plugin that is significantly important to several online apps then you might want to go the extra mile in its test coverage.