• How can I create PHP unit test for Sugar 8

    Hi All, How can I test logic hook functions using PHPUnit test. Please help me create PHP unit test for Sugar 8
  • Writting unittest for SugarQuery

    How to write unitest for the function that using SugarQuery object? <?php function getAccounts() { $sugarQuery = new SugarQuery(); $sugarQuery->from(BeanFactory::newBean('Accounts')); $sugarQuery->select()->addField('status_c'); $sugarQuery->joinTable…