By Matt Butcher
testing
Atoum: A Different Unit Testing Framework for PHP
Submitted by matt on Wed, 2012-01-25 19:44For a long time, it has seemed that when it comes to unit testing in PHP, there is only one game in town: PHPUnit. And in all fairness, it's popularity is justified. It is a good framework, and can generally handle standard use cases.
But recently I found Atoum. Not being one to start small, I began using it on a large (soon to be Open Source) project that I was writing from scratch.
Was it love or infatuation?
Atoum has some great out-of-the-box features:
- Support for PHP namespaces.
- Each test can be run directly.
- The CLI output is clean and intuitive.
- I love the method chaining support.








