AnsweredAssumed Answered

sugarcrm and phpunit?

Question asked by Michael R. on Mar 14, 2017
Latest reply on Mar 15, 2017 by Michael R.

Hi there,

I want to write test cases for our version of sugarcrm (6.1).


I've downloaded phpunit.phar and got simple test cases running without sugar context. But if I try to use sugarobjects/sugar logic, I get error messages like "class not found..." or "not a valid entry point" (and I added an entry point for my tests).


I guess I'm trying it the wrong way, but even with an hour of googleing I haven't found a tutorial for sugarcrm and phpunit. I found a pdf ( ), but it doesnt mention how to set up the environment.


I really would appreciate if you could help me with this one.