PHP App Testing
Think: “What am I testing?” 1) Set-up Instantiate your class Look for dependencies, are there any that need mocking? 2) Exercise We test our real objects that need testing, or mock objects that don’t but are required by SUT (System Under Test) 3) Verify Real object results Expectations of mocked objects 4) Tear down Destroy [...]
Getting Ant to run on Windows 7 (64bit)
If like me, you use Ant to deploy builds, etc, and you have migrated to Windows 7 – you may well have troubles getting ant to run. It all worked flawlessly under Ubuntu, but Windows is a different beast – here’s a step by step guide to getting it working.