Category: tools

Thus far, I’ve not done anything serious with much more with database like Mysql, some Postgres and on the NoSql side MongoDB (with a frisson of some use of Redis for some barely-more-than basic things), but I saw some mention …

Investigating RedisGraph Read More »

Tagged with: ,

Slow running tests are a bug – they stop you from doing as much as you can with your code, & its quality. Spend a little time working on making your tests better, clearer, and faster – and you’ll reap …

Speeding up your tests, and also your code coverage! Read More »

Version 0.9 of scheb/tombstone autoloads a file with a tombstone() function. See the bottom of the post for a fix to override that in your own code. In a large project – particularly one in a dynamic language like PHP, …

Code Tombstones Read More »

One of the advantages of a side-project is that you can be a little extra passionate about getting things just right. If you want to increase code coverage because you think that it’s good, you can – after all, it’s …

Replacing @expectedException with $this->expectException() Read More »

Having just watched Sebastian Bergmann’s “The State of PHPUnit” presentation from Fosdem 2015, I was inspired to install and test a project of mine with the latest stable PHPUnit – v4.7. It was easily installed on the command line. composer …

Upgrading PHPunit – fixing PHPUnit_Util_DeprecatedFeature_Logger Read More »

Tagged with: ,

It’s been one of those quiet spots around here for a while, so here’s the catch-up on what has been happening while I was not posting. I’ve recently finished a short contract working with an agency, Transform (part of the …

Recently…. Read More »

Tagged with: , , ,

Capistrano, makes deployment of code easy. If you need to do a number of additional steps as well, then the fact that they can be scripted and run automatically is a huge win. If you’ve only got a single machine …

Deployment with Capistrano – the Gotchas Read More »

Tagged with: ,

I’ve previously shown you why you may want to put some tasks through a queuing system, what sort of jobs you could define, plus how to keep a worker process running for as long as you would like (but still …

Doing the work elsewhere – Adding a job to the queue Read More »

Tagged with: , ,

As I mentioned in my second post, ZCE prep – and dumb tests – about open book tests (like Brainbench), having a copy of all the relevant documentation can be incredibly useful, if only from a speed issue. Knowing you …

Always have up to date documentation, part #1 Read More »

I’ve read http://www.svn-checkout.co.uk/2008/01/19/how-to-release-new-versions-of-websites/ via http://www.lornajane.net/posts/2008/SVN-Deployment-and-a-New-Site and while I consider revision control an essential tool (a few years ago, my job was the only one in the previous five years where I didn’t have to install my own RCS), I somewhat …

svn checkouts vs exports for live versions Read More »

Tagged with: , ,