bluepill icon indicating copy to clipboard operation
bluepill copied to clipboard

White box testing should be easier

Open ob opened this issue 8 years ago • 1 comments

Testing would be so much easier if we could mock the device calls and the app process interactions to create scenarios. Right now we're relying on black box testing with BPSampleApp, and although it works it's pretty slow (we're at 45 min to run tests). Much of the time is spent creating and deleting simulators. While black box testing is useful to actually test that the whole thing works, a bunch of the logic in the code could be tested without having a real simulator.

@oliverhu seems to be knowledgable on the ways of OCMock so passing this on to him.

ob avatar Jan 11 '18 19:01 ob

@ob @oliverhu is this still a valid issue?

chenxiao0228 avatar Dec 19 '20 22:12 chenxiao0228