github

JohnSundell / TestDrive

  • воскресенье, 30 апреля 2017 г. в 03:13:07
https://github.com/JohnSundell/TestDrive

Swift
Quickly try out any Swift pod or framework in a playground



Test Drive 🚘

Swift 3.1 Marathon SPM @johnsundell

With Test Drive, you can quickly try out any Swift pod or framework in a playground. Simply run testdrive followed by the name of a pod, or the URL to a Git repository, and you will have a playground generated for you in no time!

Features

  • Quickly try out a pod/framework without having to modify your project.
  • Try out multiple pods/frameworks at once - ideal when comparing similar ones.
  • Supports iOS, macOS & tvOS.

Usage

🚗 Take a pod for a test drive:

$ testdrive Unbox

🚙 Take a framework from a Git URL for a test drive:

$ testdrive git@github.com:johnsundell/files.git

🚕 Take multiple pods at once for a test drive:

$ testdrive Unbox Wrap

🏎 Take a test drive on a specific platform (iOS is the default):

$ testdrive Unbox -p tvOS

Installation

The easiest way to install Test Drive is using Marathon:

$ git clone git@github.com:JohnSundell/TestDrive.git
$ marathon install TestDrive/Sources/TestDrive.swift

You can also install it using the Swift Package Manager:

$ git clone git@github.com:JohnSundell/TestDrive.git
$ cd TestDrive
$ swift build -c release -Xswiftc -static-stdlib
$ cp -f .build/release/TestDrive /usr/local/bin/testdrive

Help, feedback or suggestions?

  • Open an issue if you need help, if you found a bug, or if you want to discuss a feature request.
  • Open a PR if you want to make some change to Test Drive.
  • Contact @johnsundell on Twitter for discussions, news & announcements about Test Drive & other projects.