1

I have following problem with setting up my phpunit tests. The project I'm working on has different class naming convetion, for example - class name is cMailing and the name of that file is class_mailing.php. How to automate phpunit lookup for that class in my tests?

1 Answer 1

3

Use bootstrap file for autoloding your classes.

Sign up to request clarification or add additional context in comments.

1 Comment

Alternately, include/require the class in the test.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.