tag
Unit Testing
- Using Mocks with PHPUnitCreating test doubles, or mocks, is a feature of PHPUnit that I recently discovered and am quickly falling in …
- Continuous Deployment with Travis CI and Digital OceanContinuous integration and deployment is one of my favorite parts about working at Shutterstock. The team can …
- Mocking Internal PHP FunctionsA problem that I’ve run into during the unending quest for complete test coverage is mocking of internal …
- Unit Testing Data RepositoriesUnit testing is something that I’m still rough around the edges with. I don’t do it nearly enough …
- Planning for FailureWhen developing applications it is easy for programmers to think in terms of successful occurrences. Code is …