0
Phabricator用のカスタムユニットテストを作成したいと思います。そのために Phabricator:ランユニットテスト
、私は私が得る、私はそれを実行しようとすると、以下の内容class PhabricatorTrivialTestCase extends PhabricatorTestCase {
private $two;
public function willRunOneTest($test_name) {
// You can execute setup steps which will run before each test in this
// method.
$this->two = 2;
}
public function testAllIsRightWithTheWorld() {
$this->assertEqual(4, $this->two + $this->two, '2 + 2 = 4');
}
}
で(些細なphabricatorのテストケースを使用するため)Writing Unit Tests in Phabricatorのドキュメントをチェックアウトし、./phabricator/src/infrastructure/testing/testcase/PhabricatorTrivialTestCase.php
でファイルを作成しました次のメッセージ。
$ cd ./phabricator
$ arc unit src/infrastructure/testing/testcase/
No tests to run.
文書化されているようにテストを実行できないのはなぜですか?いくつかのステップが欠落していますか?