Add fuzz testing to qcode

This commit is contained in:
Vikram Rangnekar
2019-04-18 21:08:14 -04:00
parent bdf76fcd5e
commit 7f8ab26218
10 changed files with 143 additions and 0 deletions

21
corpus/1 Normal file
View File

@ -0,0 +1,21 @@
query {
products(
# returns only 30 items
limit: 30,
# starts from item 10, commented out for now
# offset: 10,
# orders the response items by highest price
order_by: { price: desc },
# no duplicate prices returned
distinct: [ price ]
# only items with an id >= 30 and < 30 are returned
where: { id: { and: { greater_or_equals: 20, lt: 28 } } }) {
id
name
price
}
}