Thoughts about test code

 For the most part, tests pass.

When tests fail, they require inspecting the source of
the failing test or the source of the failing tested code.

Test harnesses are a pain to implement, and I usually end-up
writing very-specific test asserts for each library anyway to
the point where the harness is a waste.

The harness also becomes a ubiquitous public dependency! Wouldn't
it be better to write test functions as libraries that can just be
called from a main test application? Like, how hard would it be to
just call the test functions somewhere?

Comments