herb miller

WordPress plugin specialist

  • Home
  • About
    • Online CV
    • Contact
    • Find me
  • Shop
    • Seriously Bonkers – softback book
    • Seriously Bonkers – signed book
    • Seriously Bonkers – PDF
  • Dev env
    • Local development
    • WordPress plugins
    • Server environments
    • Development hardware
    • WAMP configuration
    • Tools and languages
    • What’s not in my development environment?
    • Anything else in your development toolkit?
  • Sites
PHPUnit

How I’m testing the internationalization and localization of my WordPress plugins

A few months ago, having resolved to internationalize, localize and test my WordPress plugins, I started busily beavering away at a solution that will enable me to automatically deliver UK English versions of my plugins.

Now that Global WordPress Translation Day #3 is fast approaching it seems timely to write up an outline of my approach. The solution involves a number of fairly well defined processes, and a lot of repetition. [Read more…]

Categories: plugins, programming, WordPressTags: i18n, internationalization, l10n, localization, PHPUnit, testing

Published: September 27, 2017 | Last updated: November 7, 2017

PHPUnit tested with WordPress 4.7

Version 3.1.0 of the oik base plugin has been tested with WordPress 4.7, using the WordPress develop tests for WordPress 4.7, and PHPUnit 5.7.2. New versions of my plugins will be available soon from the usual places; wordpress.org, oik-plugins and bobbingwide. [Read more…]

Categories: WordPressTags: PHPUnit

Published: December 6, 2016 | Last updated: December 7, 2016

How to run PHPUnit tests for WordPress plugins in situ

For every new release of WordPress, plugin and theme developers are expected to test that their products are compatible with the new version, and to update their “Compatible up to” status. But if you have lots and lots of plugins, how do you test them all? WordPress uses a tool called PHPUnit. Plugins and themes can do the same. This post discusses the solution that I’ve been developing to PHPUnit test my WordPress plugins in situ. [Read more…]

Categories: programming, WordPressTags: oik-batch, PHPUnit, wordpress-develop-tests

Published: August 21, 2016 | Last updated: March 21, 2019

Products

  • Seriously Bonkers - signed book £8.99 £5.99
  • Seriously Bonkers - PDF £1.00
  • Seriously Bonkers - softback book £8.99 £4.99

Recent Posts

  • Localization of Full Site Editing themes
  • Fizzie – an experimental Full Site Editing theme
  • How to survive WordPress 5.5’s removal of jQuery-migrate
  • SB Children block – my first Single Block plugin
  • Horizontally scrolling tables on narrow devices

Recent Comments

  • Aprende gutenberg #49 - Aprende gutenberg on SB Children block – my first Single Block plugin
  • Richard Cagle on Installing Imagick for PHP 7 on Windows 10
  • WordCamp Birmingham on bucket list – WordCamp Birmingham UK 2015 (#wcbrum)
  • mick on WordPress capabilities: How to restrict Add New while allowing Edit
  • mick on WooCommerce 2.2.4 – Dynamic API Reference

Archives

Categories

WordPress 5.6. PHP: 7.3.26

WordPress version: 5.6

Gutenberg version: 9.7.0

Tide times from tidetimes.co.uk

Tide Times & Heights for Northney on Sunday, 17 January 2021
High Tide: 02:24 ( 4.60m )
Low Tide: 07:21 ( 0.90m )
High Tide: 14:26 ( 4.50m )
Low Tide: 19:45 ( 0.80m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on 17th January 2021
02:24 - High Tide ( 4.65m )
07:21 - Low Tide ( 0.92m )
14:26 - High Tide ( 4.48m )
19:45 - Low Tide ( 0.76m )

Follow me

  • Home
  • About
  • Blog
  • Contact
  • Find me
  • Privacy notice
  • Sitemap

Site:  herbmiller.me
© Copyright herb miller 2012-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress