Codeception / Codeception/Specify

Output is not cleared after specify

オープン
#10 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
158
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi.

I've a test:

``` php
public function testSomething()
{
$this->specify(
'expect output',
function () {
$this->expectOutputString('lorem ipsum');
(new TestedClass)->doSomething();
}
);
$this->specify(
'expect another output',
function () {
$this->expectOutputString('lorem ipsum');
(new TestedClass)->doSomethingElse();
}
);
}
```

The first specification passes.
Second specification is failing. It expect output to be "lorem ipsum 2", but gots "lorem ipsum 1lorem ipsum 2".

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。