Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (16 sloc) 936 Bytes
.. only:: pdf and epub
   This documentation is officialy hosted on http://docs.atoum.org/ 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, ...).

Extension

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