WideImage 1.0 branch (discontinued)

WideImage Wiki : RunTests

MainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Support This Project SourceForge.net Logo
Important notice: the development of WideImage 1.0 branch is discontinued. Please visit http://wideimage.sourceforge.net for the new version of library and documentation.
This web site will remain accessible to serve as documentation for the old versions of the library. For help on migration, please refer to the migration guide.

Run WideImage tests

WideImage is (almost fully) tested with Simpletest. If you want to run the tests, please follow these steps:

Get Simpletest

If necessary, Download Simpletest and unzip it.

Prepare the runner

Edit wideimage/tests/run-tests.php, line 2: $path_to_simpletest = '...' so the path will point to your Simpletest installation.

Edit line 3 only if necessary -- if your wideimage/lib isn't in ../lib relative path from the tests directory.

Run

In shell (Command Prompt on Windows), change directory to wideimage/tests and type: php run-tests.php.

Check the results

The tester should first list some files, and then output something like:
WideImage tests
OK
Test cases run: 19/19, Passes: 300, Failures: 0, Exceptions: 0

If this is the case, all is well. If not, something went wrong. Doublecheck Simpletest installation and runner settings. If all seems fine, please search the bug tracker for a report on a similar problem. If none is found, you can file a bug report. Attach a complete output of the test runner, it'll make my (and consequently your) life easier. :)


CategoryDoc

There are no comments on this page. [Add comment]

WideImage - an Object-Oriented PHP Image Library for Image manipulation
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0653 seconds