Codeception / Codeception/Specify
Output is not cleared after specify
- Lingua principale
- PHP
- Stelle
- 158
- Fork
- 24
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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".
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.