py.test的数据库fixtures插件。
pytest-dbfixtures的Python项目详细描述
pytest dbfixtures
概述
pytest-dbfixtures是一个pytest插件,它使操作变得更加简单 为测试设置适当的数据库或存储引擎。
从版本1.0.0开始,每个进程fixture都被移动到自己的pytest插件中,以便于维护, pytest dbfixture本身被转换为metapacake。
包裹清单:
- pytest-elasticsearch
- pytest-postgresql
- pytest dynamodb
- pytest-rabbitmq
- pytest mysql
- pytest-redis
- pytest-mongo
请参阅Hot上的个别软件包以使用它们,尽管它们的用法非常相似。