phpunit - problems

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fabby
Forum Commoner
Posts: 62
Joined: Tue Feb 15, 2005 1:06 am
Location: Romania
Contact:

phpunit - problems

Post by fabby »

hello.
how do i test in cmd the script to see the errors in phpunit ?
what is the command line ?
10x
User avatar
MindOverBody
Forum Commoner
Posts: 96
Joined: Fri Aug 06, 2010 9:01 pm
Location: Osijek, Croatia

Re: phpunit - problems

Post by MindOverBody »

You can start test case with following command:
[text]phpunit <path_to_testcase>[/text]

Please visit:
http://phpunit.de/manual/current/en/textui.html
fabby
Forum Commoner
Posts: 62
Joined: Tue Feb 15, 2005 1:06 am
Location: Romania
Contact:

Re: phpunit - problems

Post by fabby »

i rezolved!
i have to enter in cmd, to change the path with the path where the file is, and then to enter phpunit <name_of_the_php_file>
Post Reply