此插件用于预期使用pytest框架的多个断言。
pytest-expectr的Python项目详细描述
#pytest_expectr
pytest expectr是[pytest]的一个插件(https://docs.pytest.org/en/latest/),它为多个断言使用提供expect-to测试/固定装置。
或pypypy3
-pytest 2.6或更新版本的pytest2.6或pytest2.6或pytest2.6或更新版本的
``bash
pip install pytest expectr
```` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `1==3,'您的错误消息2')
…
````
pytest expectr是[pytest]的一个插件(https://docs.pytest.org/en/latest/),它为多个断言使用提供expect-to测试/固定装置。
或pypypy3
-pytest 2.6或更新版本的pytest2.6或pytest2.6或pytest2.6或更新版本的
``bash
pip install pytest expectr
```` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `1==3,'您的错误消息2')
…
````