S
S
starosta462019-04-26 16:29:03
go
starosta46, 2019-04-26 16:29:03

Is it possible to test encode-ditch and decode-ditch go-kit?

At the moment I'm familiar with the go-kit tool. It has a transport layer. When unit testing the transport, it was not possible to test encoders and decoders in case of an error, because there it is necessary to cause an error in encoding and decoding json. Do I need to test these places, if so, how?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question