DIR : /home/kozerus/public_html/dgs/scripts/tests/README.test

/home/kozerus/public_html/dgs/scripts/tests

#
# Test-Suite requires PHP-version >= 5
#

# run test
# - use -d option to set PHP-ini 'include_path' or
# - change "include_path" in php.ini for php-CLI (command-line, not for Apache)
#   could be: /etc/php5/cli/php.ini
#   add DGS-basepath, so that phpunit find relative includes
# - if you have multiple versions in different root-directories, you can not use
#   the global php.ini file to configure the include-path for phpunit.
#   Instead you either have to use the '-d' option as mentioned above or you have
#   to pass the include-path when calling phpunit. This works with newer version
#   of the phpunit-package.
# - use --verbose option to print more test-"debug"
cd <testdir>
php DgsUnitTestRunner.php
   or
php -d include_path=.:/myhome/dgs-root-dir  DgsUnitTestRunner.php

# create new test-class from other existing test class
# IMPORTANT NOTE:
#    read the class documentation of 'DgsUnitTestRunner.php' for used conventions
#    on class name, file name, test methods, setting up tests & assertions.

# run single test-class
cd <DGS-basepath>/scripts/tests
php DgsUnitTestRunner.php BitSetTest

# run all test-classes
cd <DGS-basepath>/scripts/tests
php DgsUnitTestRunner.php

# run using Makefile
cd <DGS-basepath>/scripts/tests
make
   or
make test

//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer