Archive for the ‘Selenium’ Category

What Is Snapshot Testing, and Is It Viable in PHP?

Posted on: No Comments
Ah-ha moments are beautiful and rare in programming. Every so often, we're fortunate enough to discover some trick or facet of a system that forever changes how we think of it. For me, that's what snapshot testing is. You probably write a lot of PHP c...

Laravel Dusk – Intuitive and Easy Browser Testing for All!

Posted on: No Comments
End to end testing for JavaScript applications, particularly single-page-apps, has always been a challenge. To that end, Laravel released its 5.4 version recently with a new testing library: Dusk. With the release of Dusk, Laravel hopes to give its u...

JavaScript Functional Testing with Nightwatch.js

Posted on: No Comments
A while back, Eric Elliott wrote JavaScript Testing: Unit vs Functional vs Integration Tests, in which he explained the different types of test and when to use which. In today's article, I would like to go into JavaScript functional testing in a little...

Using the Selenium Web Driver API with PHPUnit

Posted on: No Comments
Previously, we demonstrated using Selenium with PHPUnit and used a user subscription form example throughout the article. In this one, we are going to explore the Facebook package using the web driver API implementation. It is recommended you go throu...

Using Selenium with PHPUnit

Posted on: No Comments
Testing is a really wide subject, whether it be unit testing, functional testing, acceptance testing, etc. In this article, we’re going to see how you can do acceptance testing using Selenium. I will use a practical example to illustrate a real use c...