[英]Flutter 3.0.1 , Android Studio Chipmunk | 2021.2.1 Patch 1 , Coverage data outdated top bar
There is the coverage data, so don't come with Run with coverage.有覆盖率数据,所以不要附带 Run with coverage。 Even after deleting the coverage file, re-run the same message I get.即使在删除覆盖文件后,重新运行我收到的相同消息。 I have 2x widget test file at test folder.我在测试文件夹中有 2 个小部件测试文件。 From the first file I have tests, which are going to show this class too.从第一个文件开始,我有测试,它们也将显示这个类。 The coverage, it wasn't enough, so I added a separate file, which handles this screen and increases the coverage with success to 97%.覆盖率不够,所以我添加了一个单独的文件,它处理这个屏幕并将覆盖率成功增加到 97%。 But when I want to see what is needed to be tested,但是当我想看看需要测试什么时, I am unable to see here any red - green lines.我在这里看不到任何红-绿线。 At the other file I am able to see.在我能看到的另一个文件中。
I don't want to move tests from the second file to the first, but it seems it is the solution, which is working.我不想将测试从第二个文件移动到第一个文件,但它似乎是解决方案,它正在工作。
Any other cleaner solution?还有其他更清洁的解决方案吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.