axelarnetwork / axelar-amplifier

Permissionless Connections Service run on the Axelar Network
21 stars 24 forks source link

feat: add macro for golden file support in tests #493

Closed milapsheth closed 3 months ago

milapsheth commented 3 months ago

Description

Adds a macro to make any test work with golden files easily

Todos

Steps to Test

Expected Behaviour

Other Notes

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 97.01493% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.17%. Comparing base (b338aff) to head (8ad5cd9).

Files Patch % Lines
packages/golden-test-macro/src/lib.rs 96.87% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feat/its-hub-api #493 +/- ## ==================================================== - Coverage 93.19% 93.17% -0.02% ==================================================== Files 185 186 +1 Lines 24713 24687 -26 ==================================================== - Hits 23031 23003 -28 - Misses 1682 1684 +2 ```

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