1、Should (Not) Be Empty:断言是否为空

2、Should (Not) Be Equal:断言是否相等【断言成功则通过,失败则fail。可以通过msg自定义提示信息】

3、Should (Not) Be Equal As Strings:断言作为字符串是否相等

4、Should (Not) Be Equal As Integers:断言作为整数是否相等

5、Should (Not) Be Equal As Numbers:断言作为数字(浮点数)是否相等

6、Should (Not) Be True:判断是否为真

7、Should (Not) Contain:断言是否包含某元素

8、Should (Not) Contain Any:断言是否包含任一元素

9、Should Contain X Times:断言某元素是否被包含指定次数

10、Should (Not) Start With:断言是否以某某开头

11、Should (Not) End With:断言是否以某某结尾

12、Should (Not) Match Regexp:断言是否匹配正则表达式

13、Length Should Be:断言长度是否相等

14、Keyword Should Exist:断言关键字是否存在

15、List Should (Not) Contain Value:断言列表是否包含某值【所属库:Collections】

16、Lists Should Be Equal:断言两个列表相等【所属库:Collections】

17、List Should Not Contain Duplicates:断言列表不包含重复项【所属库:Collections】

18、Dictionary Should Contain Item:断言字典是否包含某键值对【所属库:Collections】

19、Dictionary Should (Not) Contain Key:断言字典是否包含某key的值【所属库:Collections】

20、Dictionary Should (Not) Contain Value:断言字典是否包含某Value的值【所属库:Collections】

21、Dictionaries Should Be Equal:断言字典是否相等【所属库:Collections】
