Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么用例总数和用例数不一致呢 #5

Open
yangzhijun1 opened this issue Apr 14, 2018 · 16 comments
Open

为什么用例总数和用例数不一致呢 #5

yangzhijun1 opened this issue Apr 14, 2018 · 16 comments

Comments

@yangzhijun1
Copy link

image

@BingzhangGithub
Copy link

BingzhangGithub commented Apr 16, 2018 via email

@TesterlifeRaymond
Copy link
Owner

TesterlifeRaymond commented Apr 16, 2018 via email

@BingzhangGithub
Copy link

BingzhangGithub commented Apr 16, 2018 via email

@yangzhijun1
Copy link
Author

hi,这个问题什么时候抽空解决一下呢?感觉影响还蛮大的。用例总数不对,饼图统计也就不正确

@TesterlifeRaymond
Copy link
Owner

我这边一直没有出现这个问题....不知道是否有什么复现方式

@TesterlifeRaymond
Copy link
Owner

这个问题是否是因为多线程导致的? 单个case 被执行了2-3次 会出现这种情况 如果是这样导致的问题, 我会考虑修改总case数据量的逻辑

@yangzhijun1
Copy link
Author

yangzhijun1 commented Jun 7, 2018

HI,我试了一下,跟是否多线程没有关系的。我是用的单线程,然后case文件夹里有2个.py文件,里面分别有3个test和5个test开头的方法(也就是用例),然后执行一下就会出现这个问题.能加微信吗?java880215

@distantlily
Copy link

我这边也存在这个问题,上方的用例总数、成功及失败、跳过用例数和下方筛选列表不一致,上方的统计是错误的

@TesterlifeRaymond
Copy link
Owner

暂时保留该问题, 我们在测试中目前还没有出现, 如果有问题, 可以打包一份 demo test cases 发送到我的邮箱, 非常感谢

@Duchongc
Copy link

hi,添加截图那个方法下面save_some_img('测试报告.png')这个怎么用呢

@meilisong1989
Copy link

你有没有源码? 应该是加载用例的方法不一样,你使用列子中的Default加载就可以了,或者要改源码才可以识别所有用例。

------------------ 原始邮件 ------------------ 发件人: "yangzhijun1"[email protected]; 发送时间: 2018年4月14日(星期六) 下午4:38 收件人: "TesterlifeRaymond/BeautifulReport"[email protected]; 抄送: "Subscribed"[email protected]; 主题: [TesterlifeRaymond/BeautifulReport] 为什么用例总数和用例数不一致呢 (#5) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread

改哪个default呀,你这边修正好了么

@Duchongc
Copy link

Duchongc commented Oct 20, 2018 via email

@wqwei5555
Copy link

我的单线程的时候正常,多线程的时候就会出现相同的问题,请解决方法。

@wghpy
Copy link

wghpy commented Dec 13, 2018

image
我也遇到了这个问题,统计失败的用例数据不一致

@pipi413
Copy link

pipi413 commented May 9, 2019

image
我也遇到这个问题

@pipi413
Copy link

pipi413 commented May 9, 2019

修改 BeautifulReport\template\template,在原来基础上做了一点修改,复制内容覆盖一下试试看。

template.txt

下面是我的最新截图
TIM截图20190509202707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants