Python hypothesis.strategies模块,常用函数和类

下面列出了Python hypothesis.strategies 模块中定义的常用函数和类,我们从71个开源Python项目中,按照使用频率进行了排序。

函数和类 使用项目数
1. integers() 用在(60)个项目中
2. text() 用在(55)个项目中
3. lists() 用在(43)个项目中
4. sampled_from() 用在(32)个项目中
5. floats() 用在(31)个项目中
6. booleans() 用在(23)个项目中
7. just() 用在(18)个项目中
8. one_of() 用在(17)个项目中
9. dictionaries() 用在(15)个项目中
10. binary() 用在(14)个项目中
11. tuples() 用在(13)个项目中
12. none() 用在(11)个项目中
13. composite() 用在(11)个项目中
14. recursive() 用在(9)个项目中
15. builds() 用在(9)个项目中
16. characters() 用在(7)个项目中
17. sets() 用在(5)个项目中
18. fixed_dictionaries() 用在(5)个项目中