Add native unit tests to iOS and macOS templates (#117147)

* Improve Swift plugin implementation

* Add iOS tests

* Review feedback on structure

* Remove duplicate scheme file

* Add macOS

* Add iOS

* swift test tweaks

* unit tests

* Whitespace

* Add e2e tests
This commit is contained in:
stuartmorgan
2022-12-21 11:10:22 -08:00
committed by GitHub
parent 9a347fb063
commit 2a502363e1
18 changed files with 633 additions and 93 deletions

View File

@@ -139,6 +139,7 @@ Future<bool> runXcodeTests({
required String platformDirectory,
required String destination,
required String testName,
String configuration = 'Release',
bool skipCodesign = false,
}) async {
final Map<String, String> environment = Platform.environment;
@@ -161,7 +162,7 @@ Future<bool> runXcodeTests({
'-scheme',
'Runner',
'-configuration',
'Release',
configuration,
'-destination',
destination,
'-resultBundlePath',