Skip to content
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

Merged
merged 11 commits into from Nov 20, 2021
Merged

Conversation

imfractured
Copy link
Collaborator

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

@@ -459,7 +471,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.loblaw.fulfillment.mobilepicker.demo-wiretapp";
Copy link
Collaborator

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>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,10 +1,3 @@
//
Copy link
Collaborator

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

Copy link
Collaborator

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: "/")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat!

Copy link
Collaborator

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?

imfractured and others added 9 commits November 16, 2021 21:21
…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
@MrMUsmanAli MrMUsmanAli merged commit dd7f8c9 into develop Nov 20, 2021
@MrMUsmanAli MrMUsmanAli deleted the environment_vars_removal branch November 20, 2021 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants