Testing, it's good for you. Setup PHPUnit pear channel-discover pear.php.unit pear install -f phpunit/phpunit Run tests :) phpunit tests/XMLKMLCreateTestCase.php