Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
.. only:: pdf and epub
   This documentation is officialy hosted on and his license is explain on the ´appropriate chapter<licences>´.

Start with atoum

You first need to :ref:`install it<installation>`, and then try to start your :ref:`first test<first-tests>`. But to understand how to do it, the best is to keep in mind the philosophy of atoum.

The philosophy of atoum

You need to write a test class for each tested class. When you want to test a value, you must:

  • indicate the type of this value (integer, decimal, array, String, etc.);
  • indicate what you are expecting the value to be (equal to, null, containing a substring, ...).


atoum came with a set of extension you can use. To discover them, just go to the dedicated website.