Template:OBX test: Difference between revisions

From OLPC
Jump to navigation Jump to search
(categorizing in special category when no plan is given)
(category fiddling: DON'T assign the activity to Category:Test plans, don't add pointless link to test plans.)
 
Line 1: Line 1:
{{OBX boilerplate html | icon=TST | text = [[:Category:Test Plans|All Plans]] &ndash; {{{1}}}{{#if:{{{2|}}}|<hr>Need re-test: {{{2}}}}}}}<includeonly>{{#if:{{{1|}}}|[[Category:Test Plans|{{PAGENAME}}]]|[[Category:Test Plan wanted|{{PAGENAME}}]]}} {{#if:{{{2|}}}|[[Category:Test Plans Updated|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}
{{OBX boilerplate html | icon=TST | text = {{{1}}}{{#if:{{{2|}}}|<hr>Need re-test: {{{2}}}}}}}<includeonly>{{#if:{{{1|}}}| |[[Category:Test plan wanted]]}} {{#if:{{{2|}}}|[[Category:Test plans updated]]}}</includeonly><noinclude>{{-}}


== Usage ==
== Usage ==
''This whole thing is sort-of obsolete. Starting in the second half of 2008, we focus on [[:Category:Test cases|test cases]].


Used to declare the type of activity being documented. Has two (unnamed) parameters:
Used to declare the type of activity being documented. Has two (unnamed) parameters:
* the wiki-link to where the activity's [[:Category:Test Plans|test plans]] are located
* a wiki-link to the activity's test plan
* OPTIONAL &mdash; a date / version number denoting that the source code changed, and the tests should be done again.
* OPTIONAL &mdash; a date / version number denoting that the source code changed, and the tests should be done again.



<nowiki>{{</nowiki>{{PAGENAME}} |textplanLink|''needsReTest'' <nowiki>}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} |textplanLink|''needsReTest'' <nowiki>}}</nowiki>
Line 11: Line 13:
== Categories ==
== Categories ==


* Put the wiki page for the activity's test plan in [[:Category:Test plans]].
* [[:Category:Test Plans]] (or [[:Category:Test Plans wanted]] if none) {{pending|confirm category}}
* If updated (second optional parameter) [[:Category:Test Plans updated]] {{pending|(which category?}}
* [[:Category:Test plans wanted]] if there's no test plan)
* If updated (second optional parameter) [[:Category:Test plans updated]]


== Sample ==
== Sample ==
Line 24: Line 27:
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Kuku/Activity Test Plan|Kuku]]|2007-09-18 }}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|[[Kuku/Activity Test Plan|Kuku]]|2007-09-18 }}</nowiki>


[[Category:OBX templates|OBX Test]]


[[Category:OBX templates|Activity]]
[[Category:Templates using ParserFunctions]]
[[Category:Templates using ParserFunctions]]
</noinclude>
</noinclude>

Latest revision as of 03:00, 17 November 2008

TST {{{1}}}


Usage

This whole thing is sort-of obsolete. Starting in the second half of 2008, we focus on test cases.

Used to declare the type of activity being documented. Has two (unnamed) parameters:

  • a wiki-link to the activity's test plan
  • OPTIONAL — a date / version number denoting that the source code changed, and the tests should be done again.


{{OBX test |textplanLink|needsReTest }}

Categories

Sample

TST Kuku


{{OBX test |[[Kuku/Activity Test Plan|Kuku]] }}
TST Kuku
Need re-test: 2007-09-18


{{OBX test |[[Kuku/Activity Test Plan|Kuku]]|2007-09-18 }}