You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the full set of IBC layers has been implemented, the relayer's integration tests, specifically those under ics20.rs (e.g. here), involve multiple steps like contract declaration, deployments, handshakes, and client creations, and so on, which are mostly repetitive across tests. Thus it makes sense to develop reusable testing artifacts. We can streamline the setup process, allowing necessary artifacts to be initialized in just a few lines. This approach will make it easier to focus on writing tests.
A similar method has already been applied to Cairo's contract tests, which could serve as a reference.
Farhad-Shabani
changed the title
Develop reusable setups for relayer's integration tests and reduce code duplication
Develop reusable setups for relayer's integration tests
Jan 9, 2025
Context
Now that the full set of IBC layers has been implemented, the relayer's integration tests, specifically those under
ics20.rs
(e.g. here), involve multiple steps like contract declaration, deployments, handshakes, and client creations, and so on, which are mostly repetitive across tests. Thus it makes sense to develop reusable testing artifacts. We can streamline the setup process, allowing necessary artifacts to be initialized in just a few lines. This approach will make it easier to focus on writing tests.A similar method has already been applied to Cairo's contract tests, which could serve as a reference.
Caught my eye while reviewing #172.
The text was updated successfully, but these errors were encountered: