Files
Jerico Thomas 5bf8965693 one more
2025-08-01 12:29:07 -04:00
..
2025-08-01 12:28:58 -04:00
2025-08-01 12:28:58 -04:00
2025-07-25 15:31:22 -04:00
2025-07-25 15:31:22 -04:00
2025-07-25 15:31:22 -04:00
2025-08-01 12:28:58 -04:00
2025-08-01 12:28:58 -04:00
2025-07-25 15:31:22 -04:00
2025-08-01 12:28:58 -04:00
2025-08-01 12:28:58 -04:00
2025-07-25 15:31:22 -04:00
2025-08-01 12:28:58 -04:00
2025-08-01 12:29:07 -04:00
2025-08-01 12:28:58 -04:00

HereIAm Tests

This directory contains all test scripts for the HereIAm application.

Test Scripts

Python Unit Tests

  • test_config.py - Tests configuration management
  • test_dialog.py - Tests options dialog functionality
  • test_logging.py - Tests logging configuration
  • test_restart.py - Tests application restart functionality

Mouse Movement & PyAutoGUI Tests

  • test_pyautogui_permissions.py - Comprehensive PyAutoGUI permissions and functionality test
  • test_mouse_behavior.py - Tests basic mouse movement monitoring behavior
  • test_original_logic.py - Tests the original mouse.py script logic
  • test_enhanced_mouse.py - Tests enhanced mouse movement with additional features
  • test_fixed_mouse_logic.py - Tests the fixed mouse movement logic
  • test_updated_logic.py - Tests updated mouse movement detection logic

UI & Integration Tests

  • test_visual_dialog.py - Visual test for options dialog
  • test_startup.py - Tests launch agent functionality

Debug Tools

  • debug_mouse_detection.py - Debug tool for mouse movement detection issues

Shell Scripts

  • test_app.sh - Tests the built macOS application bundle

Running Tests

Python Tests

Run individual test files:

cd tests
python3 test_config.py
python3 test_dialog.py
python3 test_logging.py
python3 test_restart.py

App Bundle Test

Test the built application:

cd tests
./test_app.sh

Note: Make sure to build the application first by running ../build_app.sh from the tests directory.

Test Requirements

  • Python 3.x
  • PyQt5
  • Built HereIAm.app (for app bundle tests)
  • macOS (for app bundle tests)