-
Notifications
You must be signed in to change notification settings - Fork 46
Conversation
Thanks, will take a look soon-ish. |
OK. Sorry but super busy - will try to have a look soon. |
} | ||
|
||
// AddTest adds a test case to the suite | ||
func (suite *Suite) AddTest(test *Test) { |
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.
I'm note sure I like this change. I don't see value in hiding the data structure implementation when it's internal. I don't think the extra code is worth it and that it's not idiomatic Go IMO.
If we'd expose some data structures as an API (see #39 ) then we might make Suite
and Test
an interface.
Am I missing something?
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.
This change is part of a bigger local refactoring branch. Unfortunately, it has not come to fruition yet, so I thought I will commit and PR early.
As it stands, this PR is not valuable (see @tebeka comment above). Closing it for now. |
No description provided.