-
Notifications
You must be signed in to change notification settings - Fork 25
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
RTL10b #233
Conversation
I don't think mocking is the right approach here. A robust integration test approach is simply (assume each step is synchronous)
|
7ea0fed
to
09f0cc0
Compare
@mattheworiordan PTAL |
CaseTest(untilAttach: false, expected: 2)] | ||
|
||
for caseItem in cases { | ||
it("where value is \(caseItem.untilAttach)") { |
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 should be describing what the test is checking, not just the context.
Untested: "If the untilAttach param is specified when the channel is not attached, it results in an error". |
query.untilAttach = true | ||
|
||
waitUntil(timeout: testTimeout) { done in | ||
try! channel2.history { result, errorInfo in |
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.
Should use the query.
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.
Pretty basic 😓Thanks
c69cd24
to
630f61a
Compare
@tcard Done 630f61a. |
LGTM |
f343107
to
2ce3622
Compare
No description provided.