Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

phpunit(1) [debian man page]

PHPUNIT(1)							   User Commands							PHPUNIT(1)

NAME
PHPUnit - Unit testing suite for PHP SYNOPSIS
phpunit [switches] UnitTest [UnitTest.php] DESCRIPTION
PHPUnit 3.4.14 by Sebastian Bergmann. phpunit [switches] <directory> --log-junit <file> Log test execution in JUnit XML format to file. --log-tap <file> Log test execution in TAP format to file. --log-json <file> Log test execution in JSON format. --coverage-html <dir> Generate code coverage report in HTML format. --coverage-clover <file> Write code coverage data in Clover XML format. --coverage-source <dir> Write code coverage / source data in XML format. --story-html <file> Write Story/BDD results in HTML format to file. --story-text <file> Write Story/BDD results in Text format to file. --testdox-html <file> Write agile documentation in HTML format to file. --testdox-text <file> Write agile documentation in Text format to file. --filter <pattern> Filter which tests to run. --group ... Only runs tests from the specified group(s). --exclude-group ... Exclude tests from the specified group(s). --list-groups List available test groups. --loader <loader> TestSuiteLoader implementation to use. --repeat <times> Runs the test(s) repeatedly. --story Report test execution progress in Story/BDD format. --tap Report test execution progress in TAP format. --testdox Report test execution progress in TestDox format. --colors Use colors in output. --stderr Write to STDERR instead of STDOUT. --stop-on-failure Stop execution upon first error or failure. --verbose Output more verbose information. --wait Waits for a keystroke after each test. --skeleton-class Generate Unit class for UnitTest in UnitTest.php. --skeleton-test Generate UnitTest class for Unit in Unit.php. --process-isolation Run each test in a separate PHP process. --no-globals-backup Do not backup and restore $GLOBALS for each test. --static-backup Backup and restore static attributes for each test. --syntax-check Try to check source files for syntax errors. --bootstrap <file> A "bootstrap" PHP file that is run before the tests. --configuration <file> Read configuration from XML file. --no-configuration Ignore default configuration file (phpunit.xml). --include-path <path(s)> Prepend PHP's include_path with given path(s). -d key[=value] Sets a php.ini value. --help Prints this usage information. --version Prints the version and exits. PHPUnit 3.4.14 by Sebastian Bergmann. February 2011 PHPUNIT(1)

Check Out this Related Man Page

TASKS(3)                                                User Contributed Perl Documentation                                               TASKS(3)

NAME
TASKS - Want to help? These things need doing... Increase test coverage More tests need to be added to test the codes that not urrently being tested. It's pretty poor right now: http://pjcj.sytes.net/cover/latest/DBI-1.52/coverage.html Start with improving the subroutine coverage http://pjcj.sytes.net/cover/latest/DBI-1.52/blib-lib-DBI-pm--subroutine.html Test the proxy The current t/80proxy.t is isolated from the rest of the test suite so actually tests very little, and what it does test is duplicating other tests. Ideally the proxy should be tested in the same way as DBI::PurePerl. In other words, by creating wrappers test files for each test file that set $ENV{DBI_AUTOPROXY} and run the original test. They'll also need to start and stop a proxy server. Fixing bugs The official bug list is here: http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBI Naturally I'll offer direction and guidance on any you want to tackle. I've also got a few that could be entered into rt.cpan.org. Others General: Protect trace_msg from SIGPIPE? prepare(...,{ Err=>my $isolated_err, ...}) Add trace module that just records the last N trace messages into an array and prepends them to any error message to provide context for the error. Document DBI_PROFILE_FLOCK and LockFile attrib in DBI::ProfileData and DBI::ProfileDumper Performance: Move _new_sth to DBI::db::_new_sth (leave alias) and implement in C Or call _new_child and move to DBI::common? Implement FETCH_many() in C Add high-res dbi_time for windows - via Time::HiRes glob replace dbi_time()? perl v5.12.1 2009-06-08 TASKS(3)
Man Page