kif-framework / KIF

Keep It Functional - An iOS Functional Testing Framework
Other
6.2k stars 910 forks source link

test suite getting slower over time? #442

Closed Pasta closed 9 years ago

Pasta commented 9 years ago

Hello everyone,

Over time (I'd say around 20 runs of a 20 KIF tests suite) my test suite becomes so slow that it can't tap text in textfields fast enough and fails on timeouts.

Restarting the machine doesn't fix it. Resetting and closing the simulator neither.

I was wondering if some of you had seen the same and managed to fix it.

Thanks a lot!

phatmann commented 9 years ago

In the Xcode Debug pane, can you check if you are exhausting memory? You might be running into issue #430.

Pasta commented 9 years ago

Ok, weird. It seems that simulator is just uber slow when no screen is connected to it.

Pasta commented 9 years ago

Basically, when no monitor is detected, graphic card shuts down, making the simulator slow. To solve this, buy a 15$ headless monitor adaptor.

SlaunchaMan commented 9 years ago

@Pasta, do you have a link to where one can purchase those?

Pasta commented 9 years ago

Ordered that one:

http://www.amazon.com/CompuLab-fit-Headless-Display-Emulator/dp/B00FLZXGJ6/ref=sr_1_2?ie=UTF8&qid=1407864607&sr=8-2&keywords=headless+monitor

Works super well with a monitor plugged in, will report on how well it works with the emulator.

SlaunchaMan commented 9 years ago

Cool, thanks! We have two Mac minis behind a KVM and I suspect that the one that isn’t active is having problems.