Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (10 sloc) 598 Bytes

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, ...).