<commit_before># Installing MockingBird

## Downloading MockingBird

### Via Carthage

### Via Cocoapods

### Via Swift Package Manager

## Using MockingBird in your test suite

### With Quick/Nimble

### With XCTest
<commit_msg>initial stab at installation documentation<commit_after># Installation

## Installing MockingBird

### Carthage

1. Create a `Cartfile.private` file if you don't already have one and add the line `github "DarthStrom/MockingBird"`
1. Run `carthage update`.  This will fetch the source code and put it in `Carthage/Checkouts` and then build it and put it in `Carthage/Build`.
1. On your test target's "Build Phases" settings tab, in the "Link Binary With Libraries" section, drag and drop the `MockingBird.framework` from the `Carthage/Build/[platform]` folder on disk.
1. On your test target's "Build Phases" settings tab, create a new build phase of type "Copy Files", then set the Destination to Frameworks and add the MockingBird framework.

### Cocoapods

1. Make sure you are using Cocoapods version 0.36.0 or newer for Swift support.
2. Create a `Podfile` file if you don't already have one and add MockingBird as a testing dependency, e.g.:
```ruby
# Podfile

use_frameworks!

def testing_pods
    pod 'MockingBird'
end

target 'CoolProjUnitTests' do
    testing_pods
end

target 'CoolProjUITests' do
    testing_pods
end
```
3. Install your new dependency with `pod install`

{'fraction_non_alphanumeric': 0.08008504606661943, 'fraction_numerical': 0.007795889440113395, 'mean_word_length': 4.537254901960784, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7034652', 'n_tokens_mistral': 457, 'n_tokens_neox': 434, 'n_words': 189}