iOS OCMock: Text Files

61 Views Asked by At

I have a .txt file that I'd like to unit test. Is there a way with OCMock to make a "fake" test files for testing purposes? The behavior of my application depends on whats in the text file and ideally I'd like to write a unit test with different variations of the text file to test to make sure it works in all cases. The text file has a fixed name and file path.

0

There are 0 best solutions below