one test, run many times with different files

From: Date: Sun, 07 Sep 2014 22:19:16 +0000
Subject: one test, run many times with different files
Groups: php.qa 
Request: Send a blank email to php-qa+get-67413@lists.php.net to get a copy of this message
I am a newbie to phpunit. I have written 20 or so unit tests. I have done some RTFM. I have a set of tests that can that I want to run with multiple input files. My environment is linux , php 5.3 and up I can write bash scripts to iterate over the files in a number of ways. My boss to run tests by typing phpunit <directory> What is the phpunit way of running test1 with file1, file2, file3.... as input? -- Western Civilization, a nice idea - Gandhi It's not that I mind your dishonesty so much, it's that you think I'm stupid -Charlie Brown , It's the Great Pumpkin. http://GaryJohnsonInfo.Info

« previous php.qa (#67413) next »