Questions tagged «codeception»

8
我如何只能从套件中运行一个测试?
我在下面有这个测试类,我只想从中运行一个测试,例如“ aboutPage”。有什么想法吗? 这就是我仅运行此文件的方式: codecept run tests/acceptance/VisitorCest.php 但是现在我只想从该文件运行一个测试。 <?php use \AcceptanceTester; class VisitorCest { public function _before(){} public function _after(){} public function aboutPage(AcceptanceTester $I) { $I->wantTo('check about page'); } public function contactPage(AcceptanceTester $I) { $I->wantTo('check contact page'); } }
85 php  codeception 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.