Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Test run is not added to the configured plan #143

Open
tiborb opened this issue Jan 8, 2021 · 2 comments
Open

Test run is not added to the configured plan #143

tiborb opened this issue Jan 8, 2021 · 2 comments

Comments

@tiborb
Copy link

tiborb commented Jan 8, 2021

Test run is not added to configured plan in TestRail. Invalid test plan_ids are being ignored, valid test plan_ids result in no post at all.

[TESTRUN]
project_id = 41
suite_id = 582
plan_id = 4235
description = 'This is test run from abcd'

[TESTCASE]
custom_comment = 'This is a custom comment'

To Reproduce
Steps to reproduce the behavior:

  1. Configure library as shown above
  2. Execute pytest using: python -m pytest <path_to_testfile.py> --testrail
  3. Observe console output

Expected behavior
Test is appears in testrail in specified testplan.

Env

  • TestRail: 6.7.0.1097
  • PyTest: pytest-6.2.1
  • OS: Linux
@clifter1
Copy link

clifter1 commented Sep 9, 2021

In my testing, plan_id and run_id are used for updating existing test_runs (run_id) or all test_runs within a plan (plan_id)

We need something like a --tr-testrun-milestone and --tr-testrun-plan that will create a test run under a milestone or plan.

Or, the logic is broken and simply needs fixed.

@clifter1
Copy link

clifter1 commented Sep 9, 2021

This is a duplicate issue of #91

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

No branches or pull requests

2 participants