• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (deprecated)
You are here: Home / Archives for unit-test

unit-test

Pure Functions – The Secret to Writing Easily Testable Code

Last updated on June 1, 2024 by Sal Ferrarello

Unit tests are a wonderful tool for programmers. They allow you to ensure an individual part of your code base performs exactly the way you intend. Unit tests are ideal for testing pure functions and therefore it is beneficial to write pure functions.

Filed Under: Computing, Dev Tips, Programming Tagged With: unit-test

WordPress Core Unit Tests

Last updated on April 29, 2015 by Sal Ferrarello

I’ve finally started to delve into WordPress core unit tests and I wanted to document the experience. In this article I create a unit-test for ticket #28435 and submit to the WordPress project at https://core.trac.wordpress.org/ticket/28435 Environment For the purposes of this article, I’m using the combination of Vagrant, VVV, and VirtualBox. If you need help […]

Filed Under: Programming Tagged With: unit-test, WordPress

Copyright © 2026 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in