rafaqz / Interfaces.jl

Macros to define and implement interfaces, to ensure they are checked and correct.
MIT License
72 stars 4 forks source link

add test functions for types #42

Closed rafaqz closed 4 months ago

rafaqz commented 5 months ago

This PR lets you do:

Interfaces.test(Dict)

And it will find all the interfaces Dict implements, and test them.

codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 97.72727% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 85.11%. Comparing base (420ef06) to head (9fb9644).

Files Patch % Lines
src/test.jl 97.72% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #42 +/- ## =========================================== + Coverage 73.74% 85.11% +11.37% =========================================== Files 5 5 Lines 179 215 +36 =========================================== + Hits 132 183 +51 + Misses 47 32 -15 ```

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

gdalle commented 4 months ago

sorry I didn't find time to review

rafaqz commented 4 months ago

No worries it wasn't very controversial, just what we have already for Interface types but for the target type