add: python tester
This commit is contained in:
47
test/tests.json
Normal file
47
test/tests.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"parsing": {
|
||||
"working": [
|
||||
{
|
||||
"title": "normal",
|
||||
"args": "1.1.1.1",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"title": "dns",
|
||||
"args": "google.com",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"title": "ttl",
|
||||
"args": "1.1.1.1 --ttl 128",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"title": "preload",
|
||||
"args": "1.1.1.1 -p 1",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"title": "payload size",
|
||||
"args": "1.1.1.1 -s 1",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"excution": {
|
||||
"payload_size": [
|
||||
{
|
||||
"title": "normal",
|
||||
"args": "1.1.1.1 -s 56"
|
||||
},
|
||||
{
|
||||
"title": "empty payload",
|
||||
"args": "1.1.1.1 -s 0"
|
||||
},
|
||||
{
|
||||
"title": "too high",
|
||||
"args": "1.1.1.1 -s "
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user