Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests #283

Closed
KazuCocoa opened this issue Dec 1, 2018 · 2 comments
Closed

Add unit tests #283

KazuCocoa opened this issue Dec 1, 2018 · 2 comments

Comments

@KazuCocoa
Copy link
Member

Currently, almost test cases for this repository depend on functional tests which require Appium server. But as a client, we can make sure each method and their compatibility of Python 2 and 3 in unit test level.

Example: #281 , #282

Adding unit tests will be a good entry point to commit Appium project as well.
I'd set good first issue label.

@KazuCocoa
Copy link
Member Author

KazuCocoa commented Dec 5, 2018

Below is added in this library. They will be a hint what tests we can add for unit.

  • ('getContexts',)
  • ('getCurrentContext',)
  • touchAction
  • multiAction
  • getAppStrings
  • keyEvent
  • pressKeyCode
  • longPressKeyCode
  • getCurrentActivity
  • getCurrentPackage
  • setImmediateValue
  • pullFile
  • pullFolder
  • pushFile
  • background
  • isAppInstalled
  • installApp
  • removeApp
  • terminateApp
  • activateApp
  • queryAppState
  • startActivity
  • launchApp
  • closeApp
  • endTestCoverage
  • lock
  • unlock
  • isLocked
  • shake
  • touchId
  • toggleTouchIdEnrollment
  • reset
  • hideKeyboard
  • isKeyboardShown
  • openNotifications
  • getAvailableIMEEngines
  • isIMEActive
  • activateIMEEngine
  • deactivateIMEEngine
  • getActiveEngine
  • replaceKeys
  • getSettings
  • updateSettings
  • toggleLocationServices
  • toggleWiFi
  • locationInView
  • getDeviceTime
  • clear
  • startRecordingScreen
  • stopRecordingScreen
  • setClipboard
  • getClipboard
  • compareImages
  • fingerPrint

@KazuCocoa
Copy link
Member Author

#326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant