ios - TestLab for iOS 中的 Flutter Integration 测试 - Use cases is not divided in iOS

标签 ios flutter flutter-test firebase-test-lab

我在 Firebase 中使用测试实验室,我发现的问题与 iOS 中的结果有关,因为它没有显示我的集成测试中的所有用例。

这是我在 Android 中的结果,我可以在 TestLab 中看到所有用例。

Results of Android in TestLab

在 iOS 中,我找不到我的测试用例,我只找到一个调用我的两个用例的用例。

Results of iOS in TestLab

我检查了日志,这两个测试用例是在 iOS 中执行的,但问题在于 TestLab 控制台中显示的结果。我想查看所有用例。

最佳答案

截至https://github.com/flutter/flutter/pull/95704 , Flutter integration_test 将为每个 dart 测试动态创建一个原生的 XCTestCase。这将匹配 Android 的行为,您应该会在 TestLab 中看到 1:1 的测试结果,或者如果您在 Xcode 中从 ios/Runner.xcworkspace 本地运行测试。

修复将在下一个稳定版本中提供。

关于ios - TestLab for iOS 中的 Flutter Integration 测试 - Use cases is not divided in iOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68738425/

相关文章:

objective-c - 如何将此 subview 推送到它自己的子类中?

ios - UIButton 和选择器 iOS

flutter - 如果传递了渐变,则框装饰中的渐变或颜色

flutter - 我的函数执行晚于将变量分配给文本小部件

flutter - CheckBox值,我要添加,如果用户选中checkBox,则应添加amount = amount + 18%,否则请仅添加我的代码

flutter - 如何消除此错误:不正确使用ParentDataWidget

iphone - 从 UINavigationController 弹出一个包含 UITabBarController 的 UIViewController

iOS 8 在 10 分钟后停止在后台播放音频

android - 如何在 flutter 中使用 chrome 自定义标签页

flutter - 如何在小部件测试中找到屏幕外的 ListView 子项?