如果软件容易安装,则更易被采纳,这一点在安装比较复杂的环境中尤为突出。
When your software is easy to install, the word gets around, especially in complex environments where difficult installations are notorious.
但是,在使用 dist=each 时,它的做法就比较复杂了;它确保每个测试在 py.test 可用的每个测试环境中运行。
But with dist=each, it does something more sophisticated; it will make sure that each test gets run on each of the different testing environments that you have made available to py.test.
现在,我们来考虑一个比较复杂的场景,我们将在这个强大的环境中开发和部署这个场景。
Now let's look at the non-trivial scenario that you will develop and deploy in this powerful environment.
应用推荐