
| Key: |
SEL-122
|
| Type: |
New Feature
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
alex
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
any
|
|
|
add the possibility to call another file in a test file.
The syntax could be a simple url in the first column (like in the testSuite.html).
Combining such a possibility with storing values it permits to write parameter driven pieces of tests.
for example :
in init.html
----------------------------------------------------------+
init DataBase |
----------------------------------------------------------+
open | /mydatabaseLoader?load=${piece} | |
----------------------------------------------------------+
assertValue | result |succesfull |
----------------------------------------------------------+
then in test.html
----------------------------------------------------------+
Test my App
----------------------------------------------------------+
storeValue |piece |doc5.txt |
----------------------------------------------------------+
./init.html | | |
----------------------------------------------------------+
open |myappUrl | |
----------------------------------------------------------+
verifyTitle |the test App | |
----------------------------------------------------------+
....
the ./init.html act as if the lines of init.html where included (or better the link is followed and the test run).
It can be really of interest to facilitate writing tests.
|
|
Description
|
add the possibility to call another file in a test file.
The syntax could be a simple url in the first column (like in the testSuite.html).
Combining such a possibility with storing values it permits to write parameter driven pieces of tests.
for example :
in init.html
----------------------------------------------------------+
init DataBase |
----------------------------------------------------------+
open | /mydatabaseLoader?load=${piece} | |
----------------------------------------------------------+
assertValue | result |succesfull |
----------------------------------------------------------+
then in test.html
----------------------------------------------------------+
Test my App
----------------------------------------------------------+
storeValue |piece |doc5.txt |
----------------------------------------------------------+
./init.html | | |
----------------------------------------------------------+
open |myappUrl | |
----------------------------------------------------------+
verifyTitle |the test App | |
----------------------------------------------------------+
....
the ./init.html act as if the lines of init.html where included (or better the link is followed and the test run).
It can be really of interest to facilitate writing tests.
|
Show » |
|