-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skip や incomplete とマークされているテストの精査 #5096
Comments
ロジックを精査しないと判断できないもの4系になって使われなくなった3系のテストなども残ってそう 動くかどうか要検証
RequestStack に依存するテストが可能か要検証
ParameterBag を変更するテストが可能か要検証
多少の修正が必要
DoctrineBundle に起因する問題が解消可能か要調査
動くようにした方が良さそうなもの
E2Eテスト(分割実行する等で解消できるかも)
|
概要(Overview)
ユニットテスト及び E2E テストにて、 skip や incomplete とマークされている行が100行以上ある。
本来、通さなくてはならないテストが通っていない可能性もあるため精査する
grep の結果は以下の通り(整理した内容はコメントに記載)
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestSkipped('Can not support for sqlite3');
$this->markTestSkipped($message);
$this->markTestSkipped($message);
$this->markTestSkipped($message);
$this->markTestSkipped('Can not support for sqlite3');
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestSkipped('Can not support of FormInterface::submit()');
$this->markTestIncomplete('testInvalidQuantity_NotNumeric is not implemented.');
$this->markTestIncomplete('testInvalidQuantity_HasMinus is not implemented.');
$this->markTestSkipped('テスト時には'.$this->fileName.'は存在しないのでテストできない');
該当ロジックは修正済みなので skip を削除して良さそう$this->markTestSkipped('Skip because it is fatal error in PHP7.4 or higher.');
$this->markTestIncomplete('ShoppingController is not implemented.');
$this->markTestIncomplete('ShoppingController is not implemented.');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestIncomplete('ShoppingController is not implemented.');
$this->markTestIncomplete('在庫がゼロの場合フォームエラーになってしまう');
$this->markTestIncomplete('複数配送が実装されるまでスキップ');
$this->markTestIncomplete('複数配送が実装されるまでスキップ');
$this->markTestIncomplete('複数配送が実装されるまでスキップ');
$this->markTestIncomplete('複数配送対応するまでスキップ');
$this->markTestIncomplete('複数配送対応するまでスキップ');
$this->markTestIncomplete('複数配送対応するまでスキップ');
$this->markTestIncomplete('複数配送対応するまでスキップ');
$this->markTestIncomplete('マイページ対応するまでスキップ');
$this->markTestIncomplete('マイページ対応するまでスキップ');
$this->markTestIncomplete('マイページ対応するまでスキップ');
$this->markTestIncomplete('マイページ対応するまでスキップ');
$this->markTestIncomplete('マイページ対応するまでスキップ');
$this->markTestIncomplete('マイページ対応するまでスキップ');
$this->markTestIncomplete('マイページ対応するまでスキップ');
$this->markTestIncomplete('FIXME title');
$this->markTestIncomplete('カートのアンロック対応');
$this->markTestIncomplete('カートのクリア対応');
$this->markTestIncomplete('カートのアンロック対応');
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('新しい配送管理の実装が完了するまでスキップ');
$this->markTestSkipped('使用していないルーティングのためスキップ.');
$this->markTestSkipped('顧客の購入回数と購入金額の実装が完了するまでスキップ');
$this->markTestIncomplete('EditController is not implemented.');
$this->markTestSkipped('フロントとのセッション管理の実装が完了するまでスキップ');
$this->markTestSkipped('Failed to change the password by HttpClient. Skip this test.');
$this->markTestSkipped('Nothing support for Windows');
$this->markTestSkipped('Nothing support for Windows');
$this->markTestIncomplete('Impossible to call set("eccube.constants") on a frozen ParameterBag. => skip');
$this->markTestIncomplete('Impossible to call set() on a frozen ParameterBag.');
$this->markTestIncomplete('検索項目(公開・非公開・在庫内)の実装完了後に実施');
$this->markTestIncomplete('検索項目(公開・非公開・在庫内)の実装完了後に実施');
$this->markTestIncomplete('検索項目(公開・非公開・在庫内)の実装完了後に実施');
$this->markTestIncomplete('FIXME expectOutputRegex');
$this->markTestIncomplete('検索項目(公開・非公開・在庫内)の実装完了後に実施');
$this->markTestIncomplete('FIXME expectOutputRegex');
$this->markTestIncomplete();
$this->markTestIncomplete("See: \Eccube\Controller\Admin\Store\TemplateController::L151");
$this->markTestIncomplete('expected and actual is diff');
$this->markTestIncomplete('新しい配送管理の実装が完了するまでスキップ');
$this->markTestIncomplete('カートのクリア処理');
$this->markTestIncomplete('Shipping edit is not implemented.');
$this->markTestIncomplete('Shipping edit is not implemented.');
self::markTestIncomplete();
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestIncomplete();
$this->markTestSkipped();
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestIncomplete();
$this->markTestSkipped('Can not support for sqlite3');
$this->markTestSkipped();
$this->markTestSkipped('does not support of '.$platform);
$this->markTestIncomplete('Fatal error: Cannot declare class になってしまうためスキップ');
$this->markTestIncomplete('Fatal error: Cannot declare class になってしまうためスキップ');
$this->markTestIncomplete(get_class($this).' は未実装です');
self::markTestIncomplete();
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestSkipped('Can not support for sqlite3');
$this->markTestIncomplete(get_class($this).' は未実装です');
$this->markTestIncomplete();
$this->markTestSkipped('Can not support for sqlite3');
$this->markTestSkipped();
$this->markTestSkipped($e->getMailCatcherMessage().'['.$e->getStatusCode().']');
$this->markTestSkipped($message);
$this->markTestSkipped();
$this->markTestSkipped();
$this->markTestIncomplete(__METHOD__.'may be not implement');
$this->markTestIncomplete(__METHOD__.'may be not implement');
$this->markTestSkipped('does not support of '.$platform);
$this->markTestIncomplete('Fatal error: Cannot declare class Eccube\Entity\BaseInfo, because the name is already in use in app\proxy\entity\BaseInfo.php on line 28');
$this->markTestSkipped('実装確認中のためスキップ');
$this->markTestSkipped('実装確認中のためスキップ');
$this->markTestSkipped('実装確認中のためスキップ');
$this->markTestSkipped('ClassCategory2 is empty.');
$this->markTestIncomplete('function shopping is not implement');
self::markTestSkipped('PHP server unable to start.');
* // if snapshot exists - skipping login
* Mark the test as skipped.
$I->getScenario()->skip('このテストを通すと以降のテストが通らなくなってしまっているので一時的にスキップ');
$I->getScenario()->skip('プラグインのアンインストールが必要なため、テストをスキップします');
// MEMO: EF0201-UC01-T02... テスト項目の記述が意味不明なのでskip
$I->getScenario()->skip('EA0705-UC01-T01 支払方法 登録');
$I->getScenario()->skip('EA0705-UC01-T01 支払方法 登録');
$this->tester->getScenario()->incomplete('未実装:レイアウトの削除は未実装');
* Mark the test as incomplete.
$I->getScenario()->incomplete('未実装:受注削除は未実装');
$I->getScenario()->incomplete('未実装:新着情報管理は未実装');
$I->getScenario()->incomplete('未実装:ブロックの更新は未実装');
期待する内容(Expect) or 要望 (Requirement)
以下に分類、修正する
再現手順(Procedure)
上記の一覧は、以下のコマンドで抽出可能
環境 (environment)
関連情報 (Ref)
The text was updated successfully, but these errors were encountered: