Blackfire

Automated testing with Blackfire and Codeception

Published by Kenny Rassin

PHPro is known in Belgium as both a technical and strategic partner in the field of e-commerce. We know that achieving digital success requires not only a highly technical, but also a pragmatic approach. Why do we do automated testing with Blackfire and Codeception? How do we go about this as pragmatically as possible?

 

 

In order to continue to guarantee our PHP quality standards in the future, we are going to periodically test our self-built websites through automated testing by default. After all, we know that a longer loading time can mean a loss of sales of several millions for an online shop. We are also only talking about waiting a few seconds longer for a website to appear on a screen. As the market leader of PHP development in Belgium, it is a must to go the extra mile for our valued customers. Do you want to know how PHPro works? Read on below!

558-geautomatiseerde-testen-website-magentoresize

How does PHPro monitor the quality of your website?

Automated performance testing is just one of the ways we monitor the quality of Web applications.
Every time a build is run to a test environment, these automated tests are initiated. The automated tests consist of two parts: functional browser tests and performance tests. 
 


After these tests, the results are immediately reported in the chat program our developers use. Why do we do this? In case one of these tests should fail, our developers are immediately informed and ready to take the necessary actions. After all, here at PHPro we love efficient technical procedures!

When functional browser testing and performance testing?

We use Codeception for the functional browser tests. Through Browserstack, we can run the tests on different systems, browsers and devices. These tests check common user actions, such as registering a new user or purchasing a product.
 


For the performance tests, we use Blackfire. For each project, we set a number of parameters that a page must meet. For example, a page must load within 500 ms. In Blackfire the most important pages are then checked for these parameters. 

Why a PHPro support contract?

Does your company need an all-in-one e-commerce service for the sole purpose of maintaining the quality and speed of your website? Good news, because this automated testing is among one of our assignments for our support contracts with PHPro. So, enjoy the best upgrades even after your project!