kiwitcms / Kiwi

open source test management system with over 2 million downloads!
https://kiwitcms.org
GNU General Public License v2.0
970 stars 289 forks source link

RFE: provide command line tools to import/export test cases and test runs #491

Closed tcler closed 6 years ago

tcler commented 6 years ago

Description of problem

seems there's not a way to:

  1. create/delete/update test-cases and test-runs from command line
  2. import/upload test run's result from command line

Component (web, API, etc)

API

Actual results

can't create/import/upload test run, so we can't auto report test result from script. users must edit test result on webUI one by one.

Expected results

Batch Import provide a way to create test-run and report test-result from command line.

for example user generate test results(in xml/json/yaml/...) from script, then tcms run --create $runname --result result.yml [--distro $distro --component $componnet --subcomponent $subcomponent]

More info

see <Pragmatic Programmer, The: From Journeyman to Master> -> "The Power of Text"

atodorov commented 6 years ago

Feel free to send pull requests implementing this functionality by using the existing API. See https://kiwitcms.readthedocs.io/en/latest/api/index.html

tcler commented 6 years ago

the document is tooo simple~, and seems it's blocked by https://github.com/kiwitcms/Kiwi/issues/446 ( Can't upload/download/getlist of attatchments through XML-RPC api )