Closed mrtnzlml closed 8 years ago
Nyní je možné označit test pomocí $this->changeRunLevel(\Testbench::SLOW);
resp $this->changeRunLevel(10);
což daný test přeskočí dokud nebude spuštěn s RUNLEVEL proměnnou prostředí: RUNLEVEL=10 vendor/bin/run-tests ...
viz https://forum.nette.org/cs/22634-rozdeleni-testu-na-rychle-pomale-resp-jednotkove-integracni#p153837 Nějaké jednoduché nastavení runlevelu u jednotlivých testů (ne na úrovni celého TestCase).
Následné spuštění jen pomocí:
RUNLEVEL=10 vendor/bin/run-tests