Codecepion 1.5.1
You know, it's a common situation when just after the brand major release comes a small release with patches and bugfixes. Yeah, Codeception 1.5.1 has nothing to surprise you, still it's reommended to...
View ArticleCodecepion 1.5.2
Yet another minor release. It introduces more compact form for unit tests. <?php use Codeception\Util\Stub; class UserRepositoryTest extends Codeception\TestCase\Test { protected function _before()...
View ArticleConnecting PHP Frameworks. Part 1
As you know, Codeception has various modules for functional testing of PHP applications. Really, you could use Selenium, but as an advice, please leave Selenium for QAs. As a developer you need to get...
View ArticleCodeception 1.5.3
Urgent fix for Selenium2 module. It appeared that Selenium sessions were not restarting. The Travis-CI didn't reveal this problem. Selenium tests were passing as usual, just because there were no...
View ArticleTesting Symfony2 Apps with Codeception
From the beginning of it's existence Codeception was in good relations with Symfony2 framework. Codeception was built on Symfony Components and uses BrowserKit and HttpKernel components for launching...
View ArticleCodeception 1.5.4. Skip Tests, UTF fixes, etc.
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...
View ArticleCodeception 1.5.5 and Roadmap Announced
Yes, here is a new version of Codception with more features and bugfixes in it. We have a flexible relase cycle, so the new version comes when we have a set of updates that you might be needed. We...
View ArticleCodeception 1.5.6
Codeption 1.5.6 released with varous fixes to Selenium2 module (popups, screenshots) an other bugfixes. We added a bunch of tests for Selenium2 and they are runnng on TravisCI. Also, Codeception is...
View ArticleHeadless Browser Testing with Selenium2 and PhantomJS
This is a guest blogpost by Jon Phipps. Jon explains how to use PhantomJS -- the most anticipated testing backend in Codeception. If you're running acceptance tests in Codeception that require...
View ArticleNew Fashioned Classics: BDD Specs in PHPUnit
One of the most important requirements for tests is maintainability. The tests can live in a project for a months or even years. One day it may happen that some old tests start failing and the team...
View ArticleCodeception 1.6.8
Yet another minor release before the 1.7 comes. In 1.7 you will see new Selenium WebDriver module, better output formatter moved to Symfony Components, and other useful features. It will come shortly...
View ArticleCodeception 1.7: WebDriver
This is new Codeception with awaited WebDriver module in it. WebDriver module is new incarnation of Selenium implementation. As it was mentioned in previous post this WebDriver module is based on...
View Article1.7: Bugfix release
The release of 1.7 added new WebDriver module as well as rewritten Output component. Some if changes where major and was not tested for all crucial cases. If you feel comfortable with 1.6 you can stay...
View ArticleCodeception 1.7.2
So here is November and a new release with a minor changes is here. The development on 1.8 branch is started and you will get some of a long awaited features soon as well as Phalcon. Btw, you can...
View ArticleWorking with PHPUnit and Selenium Webdriver
In this post we will explore some basics of user acceptance testing with Selenium. We will do this with classical unit testing framework PHPUnit, web browser Firefox, and with new php-webdriver...
View ArticleCodeception 1.8: Phalcon, Environments, DataProviders
This release brings lots of changes. Finally we got working DataProviders (the issue was opened for about a year), and @depends tag. But the details below. Let's start with the most important new...
View ArticleSelenium WebDriver tests with Codeception
Last time we discovered API of new WebDriver PHP bindings. We wrote a basic test in PHPUnit that uses Selenium and Firefox browser to find php-webdriver library on Github. Today we will reimplement...
View ArticleCodeception 1.8.1: Minor updates
Codeception 1.8.1 is out. Bugfixes and small useful features in it. The most interesting improvement was done by frqnck. Phar version now has self-update command which acts the same way as it is in...
View ArticleTesting Emails in PHP. Part 1: PHPUnit
So how do you check that your applications sends email correctly? It looks like dealing with emails is always a challenge. How would you verify that email message is formatted and delivered correctly,...
View ArticleCodeception 1.8.2: Bugfixes
Time passed since the previous release. Since 1.8.1 we got a nice list of significant bugfixes and we are ready to publish new stable release. No new features added, actually, but they are coming in...
View Article