hey guys, i recently started following this great book, but i’m in a problem at page 50.
I followed his description on writing the messagetest.php, and at the beginning it gave no problems. i started by writing a test that would fail, and i did so according to phpunit. i then worked around it by writing a public function. again phpunit worked fine, and gave me the test-results.
but then, when i added code inside the public function, phpunit suddenly stopped working. when i wrote "phpunit unit/messagetest.php" in the terminal (mac), it just jumped to the next line.
so what should i do to get my test results?
btw, if i delete the code inside the public function, then it all works again…
EDIT: I found a syntax error in my code. when i corrected, it all worked.