Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new service methods - list keywords #25

Closed
lczub opened this issue Jul 6, 2014 · 1 comment
Closed

new service methods - list keywords #25

lczub opened this issue Jul 6, 2014 · 1 comment
Assignees
Milestone

Comments

@lczub
Copy link
Owner

lczub commented Jul 6, 2014

with TL 1.9.10, api method getTestCasesForTestSuite could return test cases keywords, if the new optional parameter getkeywords is True. (see #23)

Example getTestCasesForTestSuite return value for a test case with two keywords:

 [{'node_order': '0', 'is_open': '1', 
   'keywords': {'1': {'keyword_id': '1', 'notes': 'a key word', 'testcase_id': '8144', 'keyword': 'KeyWord01'}, 
                '3': {'keyword_id': '3', 'notes': 'a third key word', 'testcase_id': '8144', 'keyword': 'KeyWord03'}}, 
   'id': '8144', 'node_type_id': '3', 'layout': '1', 'tc_external_id': '2', 'parent_id': '8134', 'version': '1',
   'node_table': 'testcases', 'tcversion_id': '8145', 'name': 'TESTCASE_B',   ....}{...}]

New service methods seems to be helpful, which list only the keywords
a) for a special test case

   ['KeyWord01', 'KeyWord03']

b) for all test case for a test suite

   {'TESTCASE_B' :  ['KeyWord01', 'KeyWord03'], 'TESTCASE_BB'  : []}
@lczub lczub added this to the v0.5 milestone Jul 6, 2014
@lczub lczub self-assigned this Jul 6, 2014
lczub pushed a commit that referenced this issue Jul 22, 2014
new TestlinkAPIClient service method
listKeywordsForTC(internal_or_external_tc_id)
returns a keyword list without internal details (like
getTestCasesForTestSuite() does)
lczub pushed a commit that referenced this issue Jul 23, 2014
new TestlinkAPIClient service method listKeywordsForTC(internal_ts_id)
Returns dictionary with keyword lists for all test cases of a test suite
without internal details (like getTestCasesForTestSuite() does)
@lczub
Copy link
Owner Author

lczub commented Jul 26, 2014

released with v0.5.0

@lczub lczub closed this as completed Jul 26, 2014
@lczub lczub modified the milestone: v0.5.0 Jul 26, 2014
lczub pushed a commit that referenced this issue Jul 26, 2014
Merge branch 'master' into tl-future

Conflicts:
	CHANGES.rst
	src/testlink/version.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant