HereIAm Tests
This directory contains all test scripts for the HereIAm application.
Test Scripts
Python Unit Tests
test_config.py- Tests configuration managementtest_dialog.py- Tests options dialog functionalitytest_logging.py- Tests logging configurationtest_restart.py- Tests application restart functionality
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)