Cleanup IBC types tests #6411
Labels
good first issue
T: Tests
Type: Code Hygiene
General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
Milestone
Summary
Some of the types tests in IBC submodules could use spring cleaning.
Problem/Propsal
Redundant/unnecessary variable definitions. Strings should use a defined const not for example in connection/msgs_test.go
"ibconntest"
. make avar connID = "ibconntest"
In
msgs_test
reduce code lines by combining message definitions with test case definition. It is extra technical debt to maintain correct test number ordering (for example: msg[3]).Use test case struct for with the format:
Use MsgTestSuite instead of just
*testing.T
.For Admin Use
The text was updated successfully, but these errors were encountered: