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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to replace a previosly defined route #43

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomekh7
Copy link

@tomekh7 tomekh7 commented May 7, 2019

Hi,
I've found replacing a previously defined route functionality useful in my use case. I'd like to use Criollo as mockup service for UI tests of iOS app. I defined default set of responses as JSON files and load them when needed to return a response. When writing a test sometimes I'd like to change response for previously defined route to test some edge cases, i.e. authentication fails 馃槃

What do you think about this solution? I know it's not ready to merge yet, because I need to add same feature for rest of HTTP methods, at least 馃槂 . I just wanted to share this idea with you and maybe get some feedback.

BTW I have an issue when I want to change url to repo in my Podfile. After set it to:
pod 'Criollo', :git => 'https://github.com/tomekh7/Criollo.git', :branch => 'replacing-routes'
and invoke pod install Libraries folder is removed. I'm not able to compile, because lack of openssl library. There are also some changes in xconfig files, which remove link to openssl framework. Have you seen such issue?

Cheers,
Tom

@tomekh7
Copy link
Author

tomekh7 commented May 7, 2019

I've found solution for my issue with openssl framework. I forgot to add :submodules => true to my Podfile. This helped me CocoaPods/CocoaPods#5839 馃槃

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

1 participant