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
WIP: macOS implementation of keyboard, mouse, AxElementInfo and Application #841
base: macos
Are you sure you want to change the base?
WIP: macOS implementation of keyboard, mouse, AxElementInfo and Application #841
Conversation
1.Keyboard module + unit tests 2.Mouse module + unit tests. Also travis yml file updated to support OS tests.
…tended to bundleID
…ed unitest for ax_element_info
…mac_os_application
# Conflicts: # pywinauto/application.py # pywinauto/unittests/test_keyboard.py
Replaced dev packages from setup.py to dev-req file Grouped dev packages by platfrom
Added macos application as dmg images. Updated ci configuration for mac os .
Updated following points: 1. Starting application logic 2. Unit tests for application.
MacOS tests updates
Created some new tests.
…fixes Extracted common init+deinit logic to setup and teardown.
|
||
pass | ||
|
||
class ApplicationEspecialTestCases(unittest.TestCase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small suggestion, so if these tests for start/end, let's than call it ApplicationStartEndTestCases
.
""" | ||
Unit tests for the application.Application class | ||
There are test cases which has unique start/end logic | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even for these special cases it'd be better to have a proper cleanup. Remember that if test fails we don't want any leftovers.
def setUp(self):
self.app = Application()
def tearDown(self):
self.app.kill()
Any update on this? I see there is a related issue that was created after this PR was opened: #1137 The branch currently says:
Is it worth continuing from here or starting fresh? |
This is initial implementation of the most basic classes for macOS backend "ax".
Any comments and suggestions are highly appreciated.
Big TODOs:
.dmg
packages).AxWrapper
and derived classes (even not started yet).Thanks:
mouse
andkeyboard
modules.AxElementInfo
andApplication
classes.