You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
The Json output generated do not have status on Test
Thanks for this awesome tool .
When performing a test it is always nice to have a place where the test results , are stored
It would be nice have a section in json where status of test as is PASS , FAIL , SKIPPED along with reason is maintained !
Solution I'd like
The above test is actually a failed test . when run from the console we can see that it has thrown a red text as below .
✖ Testing getDummyData failed (1.234s)
[ Validation ] The JSON response value should have been janet.weaver@reqres but instead it was [email protected]
But in the future when we go back and take a look at the json it does not provide an insight on if its a success / failed test case !
Example Output:
Showcasing only the desired section which can be appended to the existing json Test result for each test
{
"content": {
"data": {
"id": 2,
"email": "[email protected]",
"first_name": "Janet",
"last_name": "Weaver",
"avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/josephstein/128.jpg"
}
},
"result":{
"status": "failed",
"reason": "The JSON response value should have been janet.weaver@reqres but instead it was [email protected]"
}
}
Test summary at the end of a suite
below data is fictional !
The Json output generated do not have status on Test
Thanks for this awesome tool .
When performing a test it is always nice to have a place where the test results , are stored
It would be nice have a section in json where status of test as is PASS , FAIL , SKIPPED along with reason is maintained !
Command used to execute the test
strest 0-sampleTest.strest.yml -n -s dummy_test.json
Output Json
Solution I'd like
The above test is actually a failed test . when run from the console we can see that it has thrown a red text as below .
But in the future when we go back and take a look at the json it does not provide an insight on if its a success / failed test case !
Example Output:
Showcasing only the desired section which can be appended to the existing json
Test result for each test
Test summary at the end of a suite
below data is fictional !
The text was updated successfully, but these errors were encountered: