mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
26 lines
875 B
Markdown
26 lines
875 B
Markdown
# DivKit Test Data
|
||
|
||
JSON data for framework testing inside `DivKit Playground` apps. Theese test cases can be found in `DivKit Playground` -> `Testing` screen.
|
||
|
||
## How to add new test case
|
||
|
||
1. Add JSON data file into this folder.
|
||
2. Add test case information into `index.json` file.
|
||
3. Rebuild `DivKit Playground` app and check new test case.
|
||
|
||
## index.json format
|
||
|
||
`title` – test case title.
|
||
|
||
`steps` – actions required to complete the test case.
|
||
|
||
`expected_results` – what is expected to happen after performing actions from `steps` section.
|
||
|
||
`tags` – tags that are used to filter scenarios.
|
||
|
||
`priority` – test case priority. Possible values: `blocker`, `critical`, `normal`, `minor`. Default value is `normal`.
|
||
|
||
`file` – relative path to JSON data.
|
||
|
||
`platforms` – list of platforms where the test case is available. Possible values: `android`, `ios`, `web`.
|