Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 2.2 KB

HINTS.md

File metadata and controls

68 lines (45 loc) · 2.2 KB

Hints, Tips & Tricks

PyCharm IDE

Make nose default test runner

Preference -> Tools -> Python integrated Tools - Choose Nosetests as Default test runner

Xcode Commandline Tools

xcrun simctl

xcrun simctl tutorial:

Disable accept trafic messages in iOS Simulator

Android Commandline Tools

Emulator Quick Boot

Start emulator with no snapshot:

$ANDROID_HOME/emulator/emulator -avd Emulator-Api23-Default -wipe-data -no-snapshot-load -no-boot-anim

When stop emulator it will save its state and next boot with this command will be very fast:

$ANDROID_HOME/emulator/emulator -avd Emulator-Api23-Default -no-snapshot-save -no-boot-anim

Faster Screenshots

See this article

Measure UI Performance

See this article

See this blog

Python wrappers around Android tools

Chrome

Clean Start

Chrome browser need to be in consistent state for debugger tests. You can achieve it by starting it with custom user profile:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=c:\temp-user-data

Chrome Dev Tools Shortcuts

OCR and Image Recognition