Skip to content

Assertions Or Verifications of Various Data Types

authorjapps edited this page Aug 5, 2020 · 2 revisions

Introduction

When server responds a Number field with String or int or float or boolean, then the assertion can be done to check exactly it was a String or Number or boolean etc.

This is in general useful, but particularly handy when we do a conformance testing of a API specification.

Scenario - Numbers

When the actual response is like below

TODO

and

Expected response i.e. assertions or verify block could be as below:

todo

Scenario - boolean

todo

Scenario - Integer, Decimal, Float

todo

Blogs

Clone this wiki locally