An open API service indexing awesome lists of open source software.

https://github.com/zoff99/zanavi_tests_docu

ZANavi Tests Documentation
https://github.com/zoff99/zanavi_tests_docu

Last synced: 4 months ago
JSON representation

ZANavi Tests Documentation

Awesome Lists containing this project

README

          

ZANavi Tests Documentation
==========================

filename:


[a-zA-Z0-9_-]*.yaml

file specs:


all lines beginning with '#' are comments and are ignored by the test routine
each test file can only contain exactly 1 test with 1 success criterion

file content:


[type: '<searchtype1>'] # optional, if not specified then do a routing test

for routing test:


from:
lat: <latitude as float number>
lng: <longitude as float number>
[ heading: <heading as float number>]
[optional blank lines]
to:
lat: <latitude as float number>
lng: <longitude as float number>
[optional blank lines]
success:
source: '<src1>'
item: '<item1>'
value: <expected value as int number OR string value UTF-8>
operator: '<ops1>'

for search test:


input:
street: '<string UTF-8 OR empty>'
city: '<string UTF-8 OR empty>'
housenumber: '<string UTF-8 OR empty>'
[optional blank lines]
success:
item: '<item2>'
value: <expected value as int number OR string value UTF-8>
operator: '<ops2>'

accepted values for ops1 (only the first 3 are accepted for string values):


==
!=
<>
>
<
=>
>=
<=
=<

accepted values for ops2 (only the first 4 are accepted for string values):


==
!=
<>
like # this is just an exact substring comparsion, NO conversion or REGEX
>
<
=>
>=
<=
=<

accepted values for src1:


dbus # only with status
gpx # only with nodes, nav<n>

accepted values for searchtype1:


RT # routing test
NS # normal search test
IS # index search test

accepted values for item1:


nodes
status
nav<n> # n is the number of the n-th navigation item to be used for the criterion (counting starts from zero!)

accepted values for item2:


resultcount
result<n> # n is the number of the n-th result item to be used for the criterion (counting starts from zero!)