tree: 391b2e059b9d25f33308e610b23b2358f556f4d1 [path history] [tgz]
  1. App/
  2. IosUnitTests.xcodeproj/
  3. Tests/

iOS Unit Tests

These are the unit tests for iOS engine. They can be executed locally and are also run in LUCI builds.

Running Tests

./flutter/tools/gn --ios --simulator --unoptimized
cd flutter/testing/ios/IosUnitTests

After the ios_flutter_test target is built you can also run the tests inside of xcode with IosUnitTests.xcodeproj.

Adding Tests

When you add a new unit test file, also add a reference to that file in shell/platform/darwin/ios/, under the sources list of the ios_flutter_test target. Once it's there, it will execute with the other tests.