Skip to content

Commit

Permalink
More detail in vector structure
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebe-lew committed Nov 20, 2023
1 parent 2dcc607 commit 81dc4c2
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions web5-test-vectors/vector-structure.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
{
"description": "Describe the feature under test",
"numberOfTests": 2,
"numberOfTests": 3,
"vectors": [
{
"testId": 1,
"description": "describe this test case",
"input": {},
"output": {},
"input": "input string",
"output": {
"successful": "return object"
},
"result": "valid"
},
{
"testId": 2,
"description": "describe the next test case",
"input": {},
"output": {},
"description": "describe the next test case - error case with no response",
"input": {
"input": "can be an object"
},
"output": null,
"result": "invalid"
},
{
"testId": 3,
"description": "describe the last test case - error case with expected error structure",
"input": {
"input": "can be an object"
},
"output": {
"error": "can specify an error reason"
},
"result": "invalid"
}
]
Expand Down

0 comments on commit 81dc4c2

Please sign in to comment.