-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test: Internal exchange coverage #1525
Test: Internal exchange coverage #1525
Conversation
e226709
to
9a9f9d1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1525 +/- ##
==========================================
- Coverage 36.01% 36.01% -0.01%
==========================================
Files 411 412 +1
Lines 177760 177779 +19
==========================================
+ Hits 64025 64030 +5
- Misses 105881 105894 +13
- Partials 7854 7855 +1
|
9a9f9d1
to
d2a1c17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who tests the test functions? Thanks for adding additional confidence to these helpers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making that change and the explanations.
I will ask you to look at the build issues here:
https://github.com/thrasher-corp/gocryptotrader/actions/runs/8864549340/job/24339848689?pr=1525#step:9:291
It looks like ARM64 Windows is unable to work with your changes. This also impacts any exchange that utilises this eg Binance
The macos build failure appears to be a separate issue
eeee562
to
66741a6
Compare
Fixed 66741a6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I like the name change. Just one thing.
276f2b9
to
c92e04a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks looking good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for enhancing the test coverage! Just a minor nit
87a1919
to
db49415
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making those changes 🎉
This package function is either going to be imported and used as just exchange.Setup, or more likely testexch.Setup. This removes the Stutter of having internal/testing/exchange.TestInstance which is implicit given the package path
46a9d14
to
9dd97f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making those changes!
Minimal test coverage for internal/testing/exchange.
It doesn't cover all statements or methods, but at least gets us started in the right direction.
Type of change
How has this been tested