White-Whale-Defi-Platform / white-whale-core

Core contracts for White Whale, The Interchain Liquidity Protocol for the Cosmos.
https://whitewhale.money
MIT License
36 stars 23 forks source link

Reorganize testing modules #296

Closed kaimen-sano closed 5 months ago

kaimen-sano commented 5 months ago

Description and Motivation

Moves the Osmosis mocking to the white-whale-testing package, rather than white-whale-std package. This lets us drop the #[cfg(test)] qualifiers which restrict integration tests from consuming our package.

This is a suitable restriction to drop, since it is likely that any code that is using white-whale-testing is performing testing operations, while our white-whale-std was public facing.

Fixing such issue is necessary, as we currently cannot cargo test on the release/v2_contracts branch.

Related Issues


Checklist:

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.20%. Comparing base (eabfd9b) to head (d1a8b19). Report is 3 commits behind head on release/v2_contracts.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/v2_contracts #296 +/- ## ===================================================== Coverage 88.20% 88.20% ===================================================== Files 250 250 Lines 23424 23424 ===================================================== Hits 20660 20660 Misses 2764 2764 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.