Refactor ICS02 update client tests to utilize the testing approach used by ICS03 connection tests #1082
Labels
A: low-priority
Admin: low priority / non urgent issue, expect longer wait time for PR reviews
O: code-hygiene
Objective: aims to improve code hygiene
O: maintainability
Objective: cause to ease modification, fault corrections and improve code understanding
Summary
The ICS03 connection tests utilize a custom testing configuration approach that defines a
Ctx
enum that enumerates the different possible context variants that the tests might make use of. For example, see https://github.com/cosmos/ibc-rs/blob/main/ibc-testkit/tests/core/ics03_connection/conn_open_ack.rs.This is a much more streamlined way to configure tests with different context and message types than the approach prescribed by
rstest
. We should refactor the update client tests to follow a similar approach and framework.The text was updated successfully, but these errors were encountered: