]> git.agnieray.net Git - galette.git/blob - tests/README
Disable events from mass changes; closes #1733
[galette.git] / tests / README
1 Galette's unit tests
2 ====================
3
4 /!\ This is a work in progress... Many classes are missing yet. /!\
5
6 Galette unit tests has been written on the top of atoum (http://atoum.org/).
7
8 If atoum executable is in your path, you can run ../bin/tests script.
9 Alternatively, you can download atoum and run it locally:
10 $ http://downloads.atoum.org/nightly/mageekguy.atoum.phar
11 $ php mageekguy.atoum.phar -bf TestsBootstrap.php -c coverage.php -d Galette
12
13 This will execute all tests; and generate relevant coverage report.
14 Please read atoum documentation at http://docs.atoum.org/ if you want
15 to learn more.
16
17 Note that tests respects Galette's path model under lib directory,
18 but in an additional tests/units/ directory. For example, Plugins
19 (\Galette\Core\Plugins) test class will be \Galette\Core\tests\units\Plugins.