Files
HereIAm/tests/README.md
Jerico Thomas 805524b78c 1.0.0 Release
2025-07-25 15:31:22 -04:00

43 lines
912 B
Markdown

# 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
### Shell Scripts
- `test_app.sh` - Tests the built macOS application bundle
## Running Tests
### Python Tests
Run individual test files:
```bash
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:
```bash
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)