-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05d04aa
commit 200ba62
Showing
2 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Oversimplified Demo | ||
|
||
This is not how we use Mixbox in Avito. This is a concept of how it can be used. | ||
|
||
You can just link something in your app and something in your tests: | ||
|
||
``` | ||
target 'MyApp' do | ||
pod 'MixboxInAppServices', '0.2.2' | ||
end | ||
target 'MyUITests' do | ||
pod 'MixboxXcuiDriver', '0.2.2' | ||
end | ||
``` | ||
|
||
In Avito we specify version of every intermediate third-party library, specify name of every Mixbox library. That allows us to fetch Mixbox from different sources (which helps with developing Mixbox), fetch specific verisons of libraries. Podfile looks like this: | ||
|
||
``` | ||
def ui_tests_and_app_common_pods | ||
mixbox_pod 'MixboxIpc' | ||
mixbox_pod 'MixboxIpcCommon' | ||
mixbox_pod 'MixboxUiKit' | ||
mixbox_pod 'MixboxBuiltinIpc' | ||
mixbox_pod 'MixboxFoundation' | ||
mixbox_pod 'MixboxArtifacts' | ||
... | ||
``` | ||
|
||
This repository contains [tests project](../Tests) that uses the latter approach. You can use it as an example of how to use certain features. | ||
|
||
## How to use | ||
|
||
* pod install | ||
* cmd+U |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters