One of set
The One of set assertion interface is as follows:
This assertion type is used to ensure if the current value equals to one value from the specified set. In the
Expected value typefield you should specify the type of values you want to compare (strings, numbers or JSON objects).
Expected valuefield you should set a list of pissible expected values
Use negative statementflag is used for getting the opposite result, i.e. the current value shouldn't exist in the specified set.
The error fixing algorithm depends on the
Use negative statementflag's state:
- false - the current value is added to the list
- true - the current value is removed from the list