Testing WordPress Plugins with Codeception. Part 2
In previous part of this tutorial we installed Codeception and got a simple test for User Submitted Posts plugin. We tested that user can send a post and see a message that the post was successfully...
View ArticleCodeception 1.6.5: Debug and Bugfixes
This is a minor release, mostly done to fix some bugs, you have encountered. Please, submit your Pull Requests for the bugs critical of yours. Most of pull requests are accepted, but if you will start...
View ArticleCodeception 1.6.6: Sequences
A minor release with one major announcement. In 1.6.6 most bugfixes were included from pull requests. Thanks for everyone who did the contributions. Sequence Also a very tiny new module was included....
View ArticleUnderstanding AspectMock
As you may know, AspectMock is non-ordinary mocking framework that can override any method of any class in your application. This is practically useful If you want to unit test code, which was not...
View ArticleCodeception 1.6.7
This release is minor, yet fixes lots of bugs you might have encountered. If you didn’t encounter them, well, then, lucky you. Still it’s a good idea to upgrade. Here is the list of changes. fix to 80...
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 an email message is formatted and delivered...
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 ArticleCodeception 1.8.3: Laravel and Yii2 DB actions
Here goes another minor release with some fixes and improvements. Codeception 1.8 now supports Laravel 4.1 and Yii2 and is tested for this frameworks on Travis. Also Laravel and Yii modules got some...
View ArticleCodeception 2.0 alpha
Finally we are ready to show you Codeception 2.0. We tried not to break everything (as it was supposed for major version change), but keep things work as they are, but maybe in a different way. Let’s...
View ArticleCodeception 2.0 beta
It took about a month to get to the beta release. This release brings lots of changes even a few BC breaks and clearly shows what Codeception 2.0 is planning to be. Today we will announce more...
View ArticleCodeception 1.8.4 with minor fixes
Bugfix release on stable 1.8 branch. While you are waiting for 2.0 RC and final version, you can update your current Codeception to get the newest patches and updates. Here they are: [WebDriver]...
View ArticleCodeception 1.8.5
New improvements and bugfixes came during the last month into the 1.8 branch. We summarized them all and prepared a new release. Ecosystem But before we proceed you should check out the new Addons...
View ArticleCodeception 2.0 RC: Strict Locators
Codeception 2.0 is almost ready for final release. Thanks for everyone who already running alpha/beta version of Codeception and provides us with valuable feedback. If everything goes well the final...
View ArticleCodeception 2.0 RC2: Guzzle 4
Unfortunately this is not a final release of Codeception 2.0 you may have expected. Still we had to get another release candidate in order to implement one breaking and important change: upgrade to...
View ArticleCodeception 2.0 Final
Codeception 2.0 is out. It was a long journey to get here but it was worth it. Main purpose of making Codeception 2.0 was not to break things up. Instead we focused on making Codeception simpler in...
View ArticleCodeception 2.0.1 and Changelog page
First bugfix release from the 2.0 version. This release introduces very important fix for running Codeception with PHP 5.4.x. Due to bug in PHP you would see strange errors while trying to execute...
View ArticleUnit Testing With Database
He-hey! You just opened this page to say that there is no such thing as unit testing with database. Unit tests are supposed to test isolated pieces, and sure unit tests should not touch the database....
View ArticleCodeception Updates
Codeception is improving from day to day with the help of our contributors. Recently we had new 2.0.6 release with lots of bugfixes and new features. Unfortunately some not obvious regressions were...
View ArticleManaging Data with FactoryMuffin
One of the greatest things of testing Ruby on Rails applications was usage of Factories, managed by FactoryGirl. It changed the way the test data was managed in test. Instead of defining fixtures one...
View ArticleAcceptance Testing With No Selenium or PhantomJS Installed
This post summarizes some recent work that was done for creating portable testing environments. The idea was to reduce dependencies required by acceptance testing. As you know, testing of web pages...
View ArticleSetting up Jenkins with Codeception
A frequent question that appear from time to time is How to set up Codeception with Jenkins. Despite the growth of popularity of various Continuous Integration solutions Jenkins is still the most...
View ArticleCodeception 2.1 Beta
We are glad to announce the first release of Codeception 2.1. It was a long time of developing the next major version of our testing framework. We delayed the release many times trying to bring as...
View ArticleCodeception 2.1 RC
Today we are announcing Codeception 2.1 RC release. We are almost ready to release a stable version, however we’d like to receive more feedback before the actual launch. We encourage you to install...
View ArticleCodeception 2.1 Is Here
We are finally ready to show you the Codeception 2.1. Since RC we stabilized its codebase, and we encourage you to start all your new projects with Codeception 2.1. As well as migrate old ones....
View ArticleUsing Codeception for Symfony Projects
Codeception Testing Framework from its roots was a plugin of symfony 1 framework. Today Codeception is powered by Symfony components and can be used to run functional tests for practically any popular...
View ArticleOn The Threshold of Codeception 2.2: Upcoming Features
Codeception 2.2 is going to land in nearest weeks. We planned to release it much earlier, but as we are not bound to specific date, we decided to work more on improvements and include the most tasty...
View ArticleEven More Features of Codeception 2.2
Today we continue to show you new features of Codeception 2.2, planned to release this March. In previous post we’ve got you acquainted with Test Dependencies, Params, and Conflicts. This post will...
View ArticleCodeception 2.2 Beta
Happy Easter, everyone! Ok, not actually everyone, but Happy Easter to those who celebrate it this weekend. If you do (or even not), you probably will have free time to play with something new. And...
View ArticleCodeception 2.2 is here
Today we are glad to announce that Codeception 2.2 is finally released. The first beta came in March and after there were 2 RC versions. We assume that everyone could already try the new branch and...
View ArticleWriting Better Tests: Expectation vs Implementation
What makes a meaningful test? This question should always be asked. No matter we write your tests first or tests after, they may stay in a project for years and it is pretty important them to test the...
View ArticleWriting Better Tests: Obtaining Specification
When you start implement testing in your development process you should always ask: which tests are important for this project. And there is no general answer to this question. “Test everything,...
View ArticleNew Addons Page
As you know Codeception has a really nice ecosystem with lots of modules and extensions built by the community. Thanks for everyone who invest their time into building better testing tools. Sometimes...
View ArticleCodeception 2.3
Today the Codeception 2.3 sees the world. This is a stable release with almost no breaking changes but with new features you will probably like. At first, we need to say “thank you” to Luis...
View ArticleDrive your Browser Tests with Codeception
In last few weeks Codeception received updates aimed to empower acceptance testing. We try to make PHP a better place for browser tests. As you know, QA engineers often prefer other languages like...
View ArticleWriting Better Tests: Riding The Command Bus
Before writing any line of test code we should think of how meaningful this test would be. The best code is the code you never write, you know. So if you ever begin to think of which parts of the...
View ArticleCodeception 2.4 released
Hello everyone! We’d like to announce the immediate availability of Codeception 2.4.0. This follows up the PHPUnit release and mostly contains compatibility fixes for PHPUnit 7. Internal usage of...
View ArticleCodeception 2.5: Snapshots
The Autumn is a good time to start something new. How about new Codeception? As you know, each minor release indicates some important change, new features we wanted to share. This time we want to...
View ArticleCodeception 3.0
It’s finally time to bring a new major version of Codeception to life! Through years of evolution and constant improvements we learned a lot and today we think we are bringing to you the best...
View ArticleCodeception 4.0 and beyond
Today we would like to share our plans for the future of Codeception. We are going to release two major versions soon and we are ready to do so! If you want to stay on board and get the latest...
View ArticleCodeception 4.0 Released
We are finally here! Codeception 4.0 is released and this means a lot for us! After long months on splitting core into modules, publishing new packages and setting up build pipelines, we are proud to...
View ArticleCodeception 5
Codeception 5.0 is out! This release is PHP 8+ only, so we are back on track with modern PHP. We are dropping support for PHPUnit < 9, and are technically ready for PHPUnit 10. And we also support...
View Article