Changes between Version 22 and Version 23 of Contribute/QA
- Timestamp:
- 11/29/12 18:04:26 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Contribute/QA
v22 v23 67 67 * Look at the {{{create}}} function's {{{data}}} parameter. It has additional information about the form. Do you need anything like that? Could you use the same format for your parameter? 68 68 * Would it make sense to share any code with {{{create}}}? 69 * The expected results. 70 * You may want tests that return no results, or one result, or multiple results. What would be a good way to pass in the expected results? 69 * The expected results. It is sufficient to just test that the right number of records are returned and give a list of the first n (determined in test case) values in a specific sorted column. 70 * You may want tests that return no results, or one result, or multiple results. What would be a good way to pass in the expected results? 71 71 * Fill the search criteria in the advanced search form. 72 72 * Execute the search. … … 75 75 * Can you use the same data to test the simple search form? 76 76 * Does the caller need to tell you which field the simple search uses? 77 * Think about what code could be shared between your (((search))) function, the (((create)))function, and the {{{report}}} function task below.77 * Think about what code could be shared between your {{{search}}} function, the {{{create}}} function, and the {{{report}}} function task below. 78 78 Test this function in at least one test script. 79 79 … … 83 83 * The search query -- which fields to search on and their values. (See the description of parameters for the {{{search}}} helper above.) 84 84 * The report options. 85 * The expected results. 85 * The expected results. This doesn't have to be all of the results - just the number of rows and columns (and perhaps optionally the values?) and specified cells in the report table. 86 86 * Fill the search criteria in advanced form for the report. 87 87 * Fill the report options. … … 96 96 ---- 97 97 [wiki:Contribute] 98 [wiki:Contribute]99 [wiki:Contribute]