Category: Testing

Looking Back: One Year Of Microsoft Edge (Videos)

  Change is difficult in large corporations. But sometimes it is possible. We kindly thank our dear friends at Microsoft for keeping Smashing Magazine alive and supporting its community with solid technical articles on practical JavaScript techniques, open source projects and interoperability best prac...

An Overview of PHPUnit 5 – What’s New? What’s Coming?

It was January 2016 when the PHPUnit development team announced the release of PHPUnit 5.0.While several minor version have already been released since, PHPUnit’s major version 5 has introduced several new functionalities and deprecated a few others. In this article, we’ll take a look at the most notable...

Building a SparkPost Client: TDD with PhpUnit and Mockery

In a previous post, we looked at SparkPost (as an alternative to Mandrill), and explored a bit of the official PHP client. The official client handles a decent amount of work, but I got to thinking about what it would take to build a new client. The more I thought about it, the more it made sense. I could learn about t...

JavaScript Testing: Unit vs Functional vs Integration Tests

Unit tests, integration tests, and functional tests are all types of automated tests which form essential cornerstones of continuous delivery, a development methodology that allows you to safely ship changes to production in days or hours rather than months or years. Automated tests enhance software stability by catchi...

Contributing to PHP: How to Fix Bugs in the PHP Core

Previously, we covered contributing to PHP’s documentation. Now, we will be covering how to get involved with PHP’s core. To do this, we will be looking at the workflow for fixing a simple bug in the core.Since submitting new features to PHP has already been explained pretty well, we will not be covering that her...

Crash Course into Continuous Testing with Sismo

The PHP community started to adopt the testing culture relatively recently. Despite there being some debates on how to achieve this, nobody can argue the importance of having your code fully covered by tests. In this article, we’re going to explore a tool that will help you in a major part of the testing culture call...

Noah’s Transition To Mobile Usability Testing

  Noah was concerned. He was the “UX guy” for the corporate office of a regional Quick Service Restaurant (a fast food chain) that was in the process of creating a mobile app to allow patrons to customize their meals, place orders and earn rewards.Note: This is an experiment in a slightly...

An Introduction to Reasonably Pure Functional Programming

When learning to program you’re first introduced to procedural programming; this is where you control a machine by feeding it a sequential list of commands. After you have an understanding of a few language fundamentals like variables, assignment, functions and objects you can cobble together a program that achi...

High-Impact, Minimal-Effort Cross-Browser Testing

  Cross-browser testing is time-consuming and laborious. This, in turn, makes it expensive and prone to human error… so, naturally, we want to do as little of it as possible. This is not a statement we should be ashamed of. Developers are lazy by nature: adhering to the DRY principle, writing scripts...