我正在尝试使用http://mink.behat.org/上的说明设置 mink 以使用 behat 。正如您将看到的,大约 2 个屏幕下方告诉我们 mink 已安装但没有驱动程序。我认为这意味着它不能与任何东西交谈。
然后它为新手提供了一个 composer.json 文件。我试过了,当我跑的时候
php composer.phar install
这就是我得到的。
D:\Projects\TestCoachmaster>php composer.phar update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for behat/mink-zombie-driver * -> satisfiable by behat/mink-zombie-driver v1.0.0.
- behat/mink-zombie-driver v1.0.0 requires symfony/process >=2.1.0,<2.2.0-dev -> no matching package found
.
Problem 2
- behat/mink-goutte-driver v1.0.0 requires fabpot/goutte 1.0.* -> no matching package found.
- behat/mink-goutte-driver v1.0.3 requires fabpot/goutte @dev -> no matching package found.
- behat/mink-goutte-driver v1.0.2 requires fabpot/goutte 1.0.*@dev -> no matching package found.
- behat/mink-goutte-driver v1.0.1 requires fabpot/goutte 1.0.x-dev -> no matching package found.
- Installation request for behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver v1.0.1, b
ehat/mink-goutte-driver v1.0.2, behat/mink-goutte-driver v1.0.3, behat/mink-goutte-driver v1.0.0.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
D:\Projects\TestCoachmaster>
我曾尝试将最低稳定性调整为 dev,但这并没有帮助。
我在 Windows 7、64 位下运行 - 我必须做很多调整才能安装 bhat 和 mink。我确实认为他们有 - 它的驱动器没有。
感激地收到帮助。伊恩