ggramlich/phpslim

Why PhpSlim Test Case giving Could not invoke constructor for MyFixture[0]

Opened this issue · 3 comments

When I tried to run the Test Case by following your example. It is showing the Errors marked in Yellow color in fitnesse, when I hit the Test button.
I have already added MyFixture.php in /project_path/FitnesseRoot/Slim folder as suggested in the example.

Any Suggestion will be very helpful.

Regards,
Deepak

@DeepakDabas Could you share your code and the exact wiki test?

Could it be the problem of #8 ?

Thank you for Reverting.
I have added one file MyFixture.php in /FitnesseRoot/Slim

That is probably the wrong path. Under FitNesseRoot, you should not put your PHP code.
How does the exact wiki test look like? How did you configure the COMMAND_PATTERN?
Please share the Command in the Execution Log.
Take a look at the videos. Even though they are outdated, most of the principles are still valid:
https://vimeo.com/5860962
https://vimeo.com/5861020