-
Notifications
You must be signed in to change notification settings - Fork 6
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
[CIVIS-9212] send tests skipped by ITR to the backend #93
Conversation
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.
First time I've seen Swift... I think I understand what this is doing, and if I do, then I think it's doing the right thing.
Soooo... get a second opinion. 😄
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!
Some minor questions / suggestions
|
||
func testBundleWillStart(_ testBundle: Bundle) { | ||
let bundleName = testBundle.bundleURL.deletingPathExtension().lastPathComponent | ||
guard case .none = state else { |
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.
Maybe it would make sense to make State implement Equatable
and use simple ==
here
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.
there is only one case .none
without associated object. I think Equatable implementation will need more lines of code than 2 case unwraps. And this is internal state enum, which is used only in that observer.
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.
LGTM - thanks for taking the time and answering my questions 🙇
What and why?
Added sending of skipped tests to the backend. Fixed span serialisation
How?
Review checklist