algorand / algorand/go-algorand

Extend the msgpack unit tests to cover all decoding and encoding execution paths

Aperta
#1,149 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Low Priority Team Carbon-11 tech debt
Lingua principale
Go
Stelle
1.4k
Fork
537
Merge medio
1g 7h
PR unite (30g)
18

Descrizione

### Subject of the issue
Extend the msgpack unit tests to cover all decoding and encoding execution paths

### Details
Our existing msgp decoders and encoders are auto-generated by the msgp utility.
This utility generates not only the decoder and encoder code, but also auto-generate unit testing that cover the above functionality.
We need to extend this unit testing to cover all the generated code. As a verification method, we can use the code coverage to see that the entire msgp_gen.go file is being covered.

### Next Steps
- Need to check what test cases are not covered to see if this is worth doing

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.