Archive for the ‘browser testing’ Category

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...

Promises in JavaScript Unit Tests: the Definitive Guide

Posted on: No Comments
Promises are becoming a common part of JavaScript code. The native Promise object is already supported by all the major browsers including Chrome, Firefox, and Safari. Despite making asynchronous code simpler, dealing with promises in unit tests is a h...

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...