Hacker News new | ask | show | jobs
by t-vi 1662 days ago
I try to have test coverage for the (small) independent libraries I do.

It's a bit tricky to go really deep with tests when you don't have a reference, but I like to see that at least basic logic errors and typos in attribute names are caught.

Many of the larger libraries in the PyTorch ecosystem have some sort of testing. The things that are mostly "here is a model" often do not.