Contents
The following plugin is in very early development. Don’t hesitate to try it out. If you encounter any problems, please open an issue on GitHub.

The Objective-C XCTest Test Suite Plugin provides the tasks, configurations and conventions for building XCTest implemented in Objective-C. The plugin It provides two entry points for iOS (test suite for unit and UI tests), runtime (XCTest) and implementation language (Objective-C).

Usage

Example 1. Applying the JNI Library Plugin
build.gradle
plugins {
   id 'dev.nokee.objective-c-xctest-test-suite'
}
build.gradle.kts
plugins {
   id("dev.nokee.objective-c-xctest-test-suite")
}

Limitation

At the moment, the plugin has the following limitations:

  • No dependencies can be configured for the XCTest test suites.

  • Can only be used with iOS Application Plugin.

  • The targeted iOS version is fixed to 13.2.

  • It produces a single variant for each test suites running only on the iPhone simulator.