Closed EinKrebs closed 3 years ago
We might use https://github.com/DATA-DOG/go-sqlmock (or another similar library).
Oh, thanks a lot, gonna look at this later.
Also please add new make target and add CI job for tests.
@pavolloffay I don't know, maybe it's better to merge this PR now, before I start to write test for SpanReader, 'cause its size is way too big already?
I can't figure out how to unit test span reader and writer, could you please give me some ideas?