TestCase Queries: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(fix default text, comments)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Some sample queries of [[:Category:Test cases]]. Edit this page and copy the <tt><nowiki>{{#ask&nbsp;...&nbsp;}}</nowiki></tt> markup.
There are

There are a total of
'''{{#ask:
'''{{#ask:
[[Category:Test cases]] [[Build stream::joyride||8.2||any]]
[[Category:Test cases]]
| format=count
| format=count
| default=No articles found in [[:Category:Test cases]] ?}}''' test cases found in [[joyride]], [[8.2]] or any [[Property:Build stream|build streams]].
| default=No articles found in [[:Category:Test cases]] ?}}''' test cases in Category:Test_cases.



The following uses [[Template:test-case-query]] to format results. Here it's limited to 5 results:
{|
{|
! Test case !! Short name !! Test objective !! Add test result
! Test case !! Short name !! Test objective !! Add test result
|-
|-
{{#ask:
{{#ask:
[[Category:Test cases]] [[Build stream::joyride||8.2||any]]
[[Category:Test cases]]
| ?Short name
| ?Short name
| ?Test objective
| ?Test objective
| format=template
| format=template
| template=test-case-query
| template=test-case-query
| limit=5
| default=No articles found in [[:Category:Test cases]] with [[Property:Stream]] of [[joyride]], [[8.2]] or any?
| default=No articles found in [[:Category:Test cases]]?
}}
}}
|}
|}

Latest revision as of 06:50, 17 November 2008

Some sample queries of Category:Test cases. Edit this page and copy the {{#ask ... }} markup.

There are a total of {{#ask:

 | format=count
 | default=No articles found in Category:Test cases ?}} test cases in Category:Test_cases.

The following uses Template:test-case-query to format results. Here it's limited to 5 results:

{{#ask:
Test case Short name Test objective Add test result
?Short name ?Test objective format=template template=test-case-query limit=5 default=No articles found in Category:Test cases?

}}