Great news. Codeception got attention from Nettuts community and we are happy to welcome you in the family )
What you should know about Codeception release cycle is that releases are not breaking the BCs and they appear quite often. Even minor releases introduces lots of new features. And today we’d like to announce some of them.
More Current Url Methods
As were pointed, the
seeInCurrentUrl method is not enough to test urls. So we got much more “currentUrl” methods:
And yes, we have correspoinding
dontSee methods too.
Click on context
Now you can perform clicks in context elements:
Also you can now try to use Cest classes for acceptance and functional testing. As scenario-driven unit tests are going to be deprecated, Cests will be used as Cepts, but in a format of a class. The Cest generator was updated accrodingly.
- Yii module should work as expected as all reauired files are included in package.
- Fix to Kohana module.
$scenario->preload() is back
Announcing: The Platform
Next major release will be called The Platform. In Platform we will introduce lots of a new concepts designed to build a real test automation platform.
- Extensions - classes that can hook into any events and produce their own. Extend anything.
- Tags - unite tests into groups and provide a similar hooks for them.
- Conditional Asserts - don’t stop a test if assert fails.
- PageObjects - new classes for defining UI maps.
- Controllers - classes to define similar scenario logic.
- Multiple Sessions - ability to execute same tests with different config (i.e. inside chrome then firefox)
More about PageObjects and Controllers you can read on PHPMaster.
And we’d like to ask you for help (once again). Please pass this survey.
We develop a bugtracker Bugira specially for web developments. And to get it running we need your feedback.
codeception.phar for update:
for composer version
P.S. It’s only 3 minutes of your time: pass this survey. Thanks