Query and Query-Integrated Block Tests¶
Functionality Tested¶
The tests should cover the following:
- (all forms including multi-table forms)
FIND
FIRST
/LAST
/NEXT
/PREVIOUS
, plus the implicit unique findFIND
literal (i.e., the short form for find the unique record with the literal value on the primary (unique) index)
FOR
blocks and loops includingFIRST
,LAST
,EACH
and no qualifierDO PRESELECT
REPEAT PRESELECT
OPEN QUERY
- with and without
DEFINE QUERY
- multiple
OPEN QUERY
statements sharing sameDEFINE QUERY
- with and without
- other features
USE-INDEX
(can affect ordering)SCROLLING
queriesNEXT
,PREV
,FIRST
,CURRENT
andLAST
along withQUERY-OFF-END
behaviorREPOSITION
withROWID
,RECID
,ROW
,FORWARDS
andBACKWARDS
INDEXED-REPOSITION
NUM-RESULTS
BREAK
keyword generating groups includingACCUM
,ACCUMULATE
,FIRST-OF
,LAST-OF
BY
clause used for ordering is important- complex
BY
clauses (expressions, not just fields) - default ordering if no
BY
clause exists- single-table query on a table (without index)
- single-table query on a table (with index)
- multi-table query on tables (with/without index combinations)
DESCENDING
[LEFT] OUTER-JOIN
clauseMAX-ROWS
limitFIELDS
/EXCEPT
options- all non-
FIND
types should have some multi-table tests:- all permanent tables
- all temp-tables
- mixture of permanent tables and temp-tables
Current Status¶
Implementation Details¶
Instructions to Run the Tests¶
Limitations or Known Issues¶
© 2004-2024 Golden Code Development Corporation. ALL RIGHTS RESERVED.