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
removed env vars requirement #1
Conversation
…r accessing project root and setup the first dummy test
@@ -459,7 +471,7 @@ | |||
"$(inherited)", | |||
"@executable_path/Frameworks", | |||
); | |||
PRODUCT_BUNDLE_IDENTIFIER = "com.loblaw.fulfillment.mobilepicker.demo-wiretapp"; |
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.
oh good catch! 🙏
@@ -70,18 +70,6 @@ | |||
ReferencedContainer = "container:demo.wiretapp.xcodeproj"> | |||
</BuildableReference> | |||
</BuildableProductRunnable> | |||
<EnvironmentVariables> |
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.
✨
@@ -1,10 +1,3 @@ | |||
// |
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 reminds me that we'll need to setup linting
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'll take this up today
} | ||
|
||
func getRootPath() -> String? { | ||
let pathArray: [String] = #file.split(separator: "/") |
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.
Neat!
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 wondering.. does this mean the placement of this file has to always be 2 levels deep from the project root?
…ly and handles the client delegate methods in a different way
- Removed the package file membership (Wiretapp, WiretappURLProtocol, WiretappSessionError) from the UITest target - Moved conditionals to switch between Record and Mock modes into the canInit methods of the classes - Temporarily added mock_responses environment variable to direct the recorded files
- Added support custom URLSession configuration
Plugged RecordURLSession into wiretapp
found a way to remove the need for the source root ( #file )
added the first test for tapping the hello world and loading the data and checking for the string in the list