Unit testing PHAsset and permissions

429 Views Asked by At

I'm developing a framework, and I would like to unit test the part of the framework that helps fetching assets from the camera roll.

I've added the permissions to the test module Info.plist , but I can't get the permission granted to access the camera roll when I run the test. Should I use UI Test Case instead ?

How can you test multimedia functionalities on PHAssets or AVAssets ?

0

There are 0 best solutions below