GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — codeception.github.com/_posts/2013-02-15-codeception-1-5-4 at master · samdark/codeception.github.com Expand file tree/ Copy path2013-02-15-codeception-1-5-4More file actions 67 lines (49 loc) · 1.78 KB / Copy path2013-02-15-codeception-1-5-4File metadata and controls67 lines (49 loc) · 1.78 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 --- title: Codeception 1.5.4. Skip Tests, UTF fixes, etc. layout: post date: 2013-02-15 01:03:50 --- Today we are releasing Codeception 1.5.4. This is minor bugfixing release consisting of GitHub issues. And a small yet awaitied feature introduced: ability to skip and mark Cepts as incomplete. It's pretty simple, though. {% highlight php %} <?php $scenario->skip(); $I = new WebGuy($scenario); $I->wanTo('do something, but I would rather not'); $I->amOnPage('/'); //..... ?> {% endhighlight %} This makes this test to be skipped. Similarly it can be marked as incomplete. {% highlight php %} <?php $scenario->incomplete(); $I = new WebGuy($scenario); $I->wanTo('do something, but I would rather not'); $I->amOnPage('/'); //..... ?> {% endhighlight %} The `skip` and `incomplete` methods can take one argument, that descrines a reason why this tests were marked this way. {% highlight php %} <?php $scenario->skip('waiting for new markup'); $scenario->incomplete('welcome page appearence not tested'); ?> {% endhighlight %} ## Bugfixes * Symfony2 kernel is rebooted on each run. That make Symfony2 tests less dependent on each other. * `seeFillField` method now [accepts label as parameter](https://github.com/Codeception/Codeception/issues/162). * [Encoding issues](https://github.com/Codeception/Codeception/issues/120) for non-latin chars in output fixed. Unfortunately this fix will work only in PHP 5.4. * `seeLink` now doesn't [return false positive results](https://github.com/Codeception/Codeception/issues/90) ### Update [redownload](http://codeception.com/thanks.html) your `codeception.phar` for update: {% highlight bash %} wget http://codeception.com/codecept.phar -O codecept.phar {% endhighlight %} for composer version {% highlight bash %} $ php composer.phar update {% endhighlight %} |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |