Skip to content

Commit

Permalink
Merge pull request #33 from trinhngocthuyen/fix/selected_tests
Browse files Browse the repository at this point in the history
Fix: selected tests are not properly running
  • Loading branch information
albertdai authored Nov 2, 2021
2 parents a13ec9d + 88ff340 commit 24ba151
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_runner/xctestrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ def _GenerateTestRootForXcuitest(self):
'DYLD_LIBRARY_PATH': '__TESTROOT__:%s/usr/lib' % developer_path
}
self._xctestrun_dict = {
'ProductModuleName': self._test_name,
'IsUITestBundle': True,
'SystemAttachmentLifetime': 'keepNever',
'TestBundlePath': self._test_bundle_dir,
Expand Down Expand Up @@ -665,6 +666,7 @@ def _GenerateTestRootForXctest(self):
'DYLD_LIBRARY_PATH': '__TESTROOT__:%s/usr/lib:' % developer_path
}
self._xctestrun_dict = {
'ProductModuleName': self._test_name,
'TestHostPath': self._app_under_test_dir,
'TestBundlePath': self._test_bundle_dir,
'IsAppHostedTestBundle': True,
Expand All @@ -685,6 +687,7 @@ def _GenerateTestRootForLogicTest(self):
'DYLD_LIBRARY_PATH': dyld_framework_path
}
self._xctestrun_dict = {
'ProductModuleName': self._test_name,
'TestBundlePath': self._test_bundle_dir,
'TestHostPath': xcode_info_util.GetXctestToolPath(self._sdk),
'TestingEnvironmentVariables': test_envs,
Expand Down

0 comments on commit 24ba151

Please sign in to comment.