Develop a unit test suite
Opened this issue · 4 comments
The codebase is very small, but there are still some opportunities to cover some of the functions by unit test. Cover the functions that make sense, making minor modifications to the code if necessary.
It would be great if we could just stick to go stdlib for this
It would be great if we could just stick to go stdlib for this
Does this mean not pulling in something that implements convenient assertions (e.g. github.com/stretchr/testify)? or something else?
Does this mean not pulling in something that implements convenient assertions (e.g. github.com/stretchr/testify)?
This was my intention, but it's just a preference :)
That seems fine. The unit-tests should be small enough, this shouldn't cause too much issue. Keepin' it simple!