Conversation
Lines Of Code
|
Unit Test Coveragetotal: (statements) 69.3% Coverage of changed linesNo changes in testable statements. Coverage diff with base branchMissing base coverage file. |
Go API Changes# summary Inferred base version: v5.0.1 Suggested version: v5.1.0 |
Benchmark ResultBenchmark diff with base branchBenchmark result |
59cb6a0 to
1d89bd1
Compare
1d89bd1 to
2aa8a72
Compare
2aa8a72 to
de42435
Compare
mariaefi29
left a comment
There was a problem hiding this comment.
Awesome, thanks!
Just some small suggestion to fix if you want :)
| "github.com/stretchr/testify/require" | ||
| ) | ||
|
|
||
| func testRedis(t testing.TB) (addr string, closer func()) { |
There was a problem hiding this comment.
What do you think if we put that func at the bottom of the test file?
There was a problem hiding this comment.
What's the rationale for such layout?
There was a problem hiding this comment.
I'll merge this PR and let's change this later if there are benefits.
There was a problem hiding this comment.
What's the rationale for such layout?
Unexported helpers functions are usually put at the end of file, since they are just helpers and not the main purpose of the file.
There is a layout approach I really like, I think I will share with the team later in Q1 to discuss.
Travis CI seem to be no longer working for free for public repositories, so migrating to GitHub Actions can improve CI.
This PR
github.com/alicebob/miniredisto reduce test dependency on actual Redis (envREDIS_ADDRstill allows actual Redis),go.modwithgo1.17to optimize transitive dependencies handling.