Add unit tests for testenv package #1
Labels
No labels
blocked:needs-decision
bug
documentation
enhancement
feature-request
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_app_testing_environment_setup#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
testenv/Python package currently has no automated tests. We need:DesktopSession(mock pyautogui, mock subprocess)binary,apt,appimage,source) with mocked filesystem/subprocessAccessibilityTreewith mockedpyatspiScreenshotCapturebackend fallback logicActionLoggerfile I/O and streamingFiles to create:
tests/test_automation.pytests/test_accessibility.pytests/test_screenshot.pytests/test_actionlog.pytests/test_deployers.pyUse
pytestwithunittest.mockfor external dependencies.Why: Without tests, regressions in the automation API or deployers will only be caught during manual Docker runs.