forked from sebastianbergmann/dbunit
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Yosuke Kushida edited this page Mar 6, 2019
·
2 revisions
- dbunit開発用 == プロジェクトA
- 依存解決テスト用 == プロジェクトB
git checkout -b 5.x
composer require --dev phpunit/phpunit:^8.0
composer.jsonに書く
{
"repositories": [
{ "type": "vcs", "url": "C:/projects/poppy/dbunit" }
],
"require-dev": {
"phpunit/phpunit": "^8.0",
"phpunit/dbunit": "5.x-dev"
}
}
composer.json編集
- "php": "^7.1",
- "phpunit/phpunit": "^7.0",
+ "php": "^7.2",
+ "phpunit/phpunit": "^8.0",
- "dev-master": "4.0-dev"
+ "dev-master": "5.0-dev"
composer update --with-dependencies phpunit/phpunit
composer update phpunit/dbunit
あとはプロジェクトAで開発、がんがんcommit。
依存テストをしたいときはプロジェクトBで composer update phpunit/dbunit 。