tcms.testruns.views module

class tcms.testruns.views.AddCasesToRunView(**kwargs)[source]

Bases: django.views.generic.base.View

Add cases to a TestRun

dispatch(request, *args, **kwargs)
get(request, run_id)[source]
post(request, run_id)[source]
class tcms.testruns.views.TestRunReportView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView, tcms.testruns.data.TestExecutionDataMixin

Test Run report

get_context_data(**kwargs)[source]

Generate report for specific TestRun

There are four data source to generate this report. 1. TestRun 2. Test executions included in the TestRun 3. Comments associated with each test execution 4. Statistics 5. bugs

template_name = 'run/report.html'
class tcms.testruns.views.UpdateAssigneeView(**kwargs)[source]

Bases: django.views.generic.base.View

Updates TestExecution.assignee. Called from the front-end.

dispatch(request, *args, **kwargs)
http_method_names = ['post']
post(request)[source]
class tcms.testruns.views.UpdateCaseRunStatusView(**kwargs)[source]

Bases: django.views.generic.base.View

Updates TestExecution.status_id. Called from the front-end.

dispatch(request, *args, **kwargs)
http_method_names = ['post']
post(request)[source]
tcms.testruns.views.cc(request, run_id)[source]

Add or remove cc from a test run

tcms.testruns.views.change_status(request, run_id)[source]

Change test run finished or running

tcms.testruns.views.clone(request, run_id)[source]

Clone cases from filter caserun

tcms.testruns.views.edit(request, run_id)[source]

Edit test plan view

tcms.testruns.views.get(request, run_id, template_name='run/get.html')[source]

Display testrun’s detail

tcms.testruns.views.get_caseruns_of_runs(runs, kwargs=None)[source]
Filtering argument -
priority tester plan tag
tcms.testruns.views.new(request)[source]

Display the create test run page.

tcms.testruns.views.open_run_get_comments_subtotal(case_run_ids)[source]
tcms.testruns.views.open_run_get_users(case_runs)[source]
tcms.testruns.views.remove_execution(request, run_id)[source]

Remove specific execution from the run

tcms.testruns.views.search(request)[source]
tcms.testruns.views.update_case_run_text(request, run_id)[source]

Update the IDLE cases to newest text