php Programming Glossary: expectedoutput
How do I write unit tests in PHP with a procedural codebase? http://stackoverflow.com/questions/899390/how-do-i-write-unit-tests-in-php-with-a-procedural-codebase stringOne 'foo' stringTwo 'bar' expectedOutput 'foobar' output myCustomCatFunction stringOne stringTwo this.. myCustomCatFunction stringOne stringTwo this assertEquals expectedOutput output In the bad case where your code works by side effects.. stringOne 'foo' stringTwo 'bar' expectedOutput 'foobar' output myCustomCatFunction stringOne stringTwo this..
|