I'm getting an error:
Class 'InfusedPay\Processor' not found in PKGPATH/infusedpay/tests/processor.php on line 24.
I have all classes with proper namespace declarations, loaded them in the packages bootstrap.php file properly and added the namespace to core namespace.
Any ideas why my tests can't see them?
I think I found out that you have to call \Package::load('your_package_under_test') in the setUp() function. I assume autoloading it would also allow it to show up.
Also if your using the @expectedException tag make sure you include the full name of the exception even if you have a namespace declared in your test i.e. \Package_name\Exception_name