lczub / TestLink-API-Python-client

A Python client to use the TestLink API
105 stars 63 forks source link

Delete Testcases? #52

Closed TASSDevon closed 9 years ago

TASSDevon commented 9 years ago

Is there a function to delete a testcase? I'd like to delete testcases with a specific word in the title.

lczub commented 9 years ago

Hello Devon,

unfortunately, TL itself does not provide an api method to detele testcases. (see TL Githup xmlrpc.class.php).

What you can do is a) deleting the test case steps via deleteTestCaseSteps b) or updating the state of the test case via updateTestCase to mark it as old / invalid

Regards, Luiko

TASSDevon commented 9 years ago

Ah I feared as much, I looked there and indeed, couldn't find it. It's weird there is support for deleting entire plans but not for testcases individually. Hopefully they'll add it in some future release.

Thanks for the fast reply!