MO-Tester Specification¶
Case specifications¶
Specification |
Description |
|---|---|
File name |
|
Case |
|
Tag specifications in the cases¶
Annotation |
Start with |
End with |
Description |
|---|---|---|---|
– @bvt:issue |
– @bvt:issue#{issueNO.}] |
– @bvt:issue |
the SQL marked with this flag will not been executed |
– @sessio |
– @session:id=X{ |
– @session} |
all the SQLs enclosed by this tag will execute in a new session with id=X |
– @separator |
/ |
/ |
The specified SQL statement in its result and generated the result file using the columns of the separator. There are two values. |
– @separator:table |
/ |
/ |
The column separator in the result is a TAB character. \t |
– @separator:space |
/ |
/ |
The column separator in the result is four Spaces |
– @sortkey |
– @sortkey:1,2,3 |
/ |
The results of the SQL statement are ordered, with the first, second, and third columns (starting from 0) sorted. Under normal circumstances, the tested system returns the result of the order is not fixed, so tools in comparison, the actual results, and expected results are sorted, but for some SQL, the expected results should be ordered, such as |
Result specifications¶
Specification |
Description |
|---|---|
Normal cases generate test results |
|
Cases with tags generate test results |
|
Write results manually |
|