TestCase Queries: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: Query for all Category:Test cases that are in the Joyride, 8.2, or Any build streams. {| ! Test case !! Short name !! Test objective !! Add test r...)
 
(fix default text, comments)
 
(3 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 a total of
'''{{#ask:
[[Category:Test cases]]
| 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:
Query for all [[:Category:Test cases]] that are in the [[Joyride]], [[8.2]], or Any [[Property:Build stream|build streams]].

{|
{|
! 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?

}}