Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
The changes are all in Xcode XML stuff so you'd probably want to pull the branch to your machine and try it out.
Checklist
Change is covered by automated testsaChangelog is updated(maybe later, if we feel like it during the release)a We did not have Carthage tests before so Bitrise does not test them. I'll look into it after this PR is merged. Can't do that in the PR itself because Bitrise.