Search results
Results From The WOW.Com Content Network
This is the test cases page for the module Module:Example. Results of the test cases.-- Unit tests for [[Module:Example]].
If set to "y" or "yes", the test case is made collapsible. The test case is collapsed and given a green heading if all the template outputs are the same. If any of the template outputs differ, the test case is expanded and given a yellow heading. See #Collapsible test cases for other parameters which only work when _collapsible is enabled.
The type int should be the integer type that the target processor is most efficiently working with. This allows great flexibility: for example, all types can be 64-bit. However, several different integer width schemes (data models) are popular.
The test case is collapsed and given a green heading if all the template outputs are the same. If any of the template outputs differ, the test case is expanded and given a yellow heading. _resetRefs: If set to "yes", any references generated by the templates tested are reset after each template is expanded. _showcode: Show the template code ...
A test case graph illustrates all the necessary independent paths (test cases) to cover all isolated conditions. Conditions are represented by nodes, and condition values (situations) by edges. An edge addresses all program situations. Each situation is connected to one preceding and successive condition.
Templates invoking Module:Template test case: Template:Test case – a generalised test case template; Template:Testcase rows – for a table of test cases arranged in rows; Template:Testcase table – for a table of test cases arranged in columns; Template:Collapsible test case – for test cases collapsed by default if the results are the same
This module provides a framework for making templates which produce a template test case.While test cases can be made manually, using Lua-based templates such as the ones provided by this module has the advantage that the template arguments only need to be input once, thus reducing the effort involved in making test cases and reducing the possibility of errors in the input.
2 Informal test cases. 3 Typical written test case format. 4 See also. 5 References. 6 External links. Toggle the table of contents. Test case. 20 languages.