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

Unit tests in Carthage project #607

Merged
merged 1 commit into from
Mar 20, 2020
Merged

Commits on Mar 20, 2020

  1. Unit tests in Carthage project

    Add unit test targets and schemes into Carthage project of ObjCThemis.
    This makes it much easier to iterate on ObjCThemis since now you don't
    need to do a silly dance with pushing commits and pulling changes in
    order to just run your unit tests.
    
    Now all you need to do is open ObjCThemis.xcodeproj, hack on ObjCThemis,
    then select "Test Themis (Swift 4/5, macOS/iOS)" scheme and press ⌘U.
    That's it. No Internet connection required (after "carthage bootstrap"
    to pull OpenSSL dependency).
    
    Alternatively, you can run the tests from command-line:
    
        xcodebuild \
            -derivedDataPath DerivedData  \
            -project ObjCThemis.xcodeproj \
            -scheme "Test Themis (Swift 5, macOS)" \
            test
    ilammy committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    ff14cd7 View commit details
    Browse the repository at this point in the history