Posts marked with “phpunit”

Education Station: Unit Testing Basics

by · February 6, 2020

0
 

By Chris Tankersley Recently, we’ve discussed principles for writing clean code in your php applications. Testing is a valuable technique to help you produce and maintain a codebase, but it can be daunting to learn. In this article, we’ll start with unit testing. Let’s look at how tests help during the design phase and in […]

 

Education Station: Unit Testing Basics

by · January 3, 2020

0
 

Recently, we’ve discussed principles for writing clean code in your php applications. Testing is a valuable technique to help you produce and maintain a codebase, but it can be daunting to learn. In this article, we’ll start with unit testing. Let’s look at how tests help during the design phase and in maintenance, what unit tests are, and how to use PHPUnit for your test suite.

 

How to Learn PHP Unit Testing With Katas

by · December 11, 2018

0
 

Sometimes code is first tested when the unfortunate client or user feels like using the feature and tests the developer’s work. Hopefully, they’re not disappointed. That’s why you should be interested in unit testing and Test-Driven Development (TDD)—because it makes your life as a programmer better.

 

PHPUnit Worst Practices

by · April 2, 2018

0
 

I’ve been working with PHPUnit a lot, probably since 2007. Unit testing and automatic testing in general is important, and it becomes even more important when it comes to team play. Unfortunately, in different teams that I have worked in, I often observed a situation when tests don’t receive all the attention they deserve, sometimes […]

 

Testing in Practice – April 2018

by ·

0
 

You can get pretty far without automated testing of your code. I should know, I was slow in adopting it as part of my day to day workflow. The truth is, automated testing ends up speeding up your workflow and its an investment. When you can have a computer, which is built to do routine […]