how to test multiple sets of data using php unit?
Posted
by user187809
on Stack Overflow
See other posts from Stack Overflow
or by user187809
Published on 2010-06-03T12:37:11Z
Indexed on
2010/06/03
20:44 UTC
Read the original article
Hit count: 141
unit-testing
|phpunit
I have a class and few functions that I need to test against multiple sets of data. I load these data from flat files. I understand that I can load a file in the setUp() method and run my tests, but how do I load multiple sets of data and test the same functions against those data?
© Stack Overflow or respective owner