Codeception / Codeception/Specify
Output is not cleared after specify
- Dominant language
- PHP
- Stars
- 158
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
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".
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.