Skip to content
This repository was archived by the owner on Jul 11, 2019. It is now read-only.
This repository was archived by the owner on Jul 11, 2019. It is now read-only.

执行测试后,report没有落库,导致无法查看报告,尝试修复了下~~ #147

Open

Description

@Verckolf

过程:执行完测试用例后,无法在在报告管理中查看报告,继而发现DB中没有记录该报告,继而发现作者在函数run中没有调用函数add_test_reports
尝试添加该函数后,可以落库并且查看报告,目前没有发现其他引入的问题~~~~~

文件/apimanager/views.py
函数run_test
report_name = kwargs.get('report_name', None)
add_test_reports(runner, report_name=report_name)

Activity

  1. zhongdaoyou commented on May 9, 2019

    @zhongdaoyou

    可以详细点吗

  2. shanxizhiying commented on May 22, 2019

    @shanxizhiying

    作者没有把执行用例生成测试报告添加进测试报告列表里,我猜原因是正式执行时才需要添加,不然报告列表里会出现大量调试的测试报告吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions