61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
# Patrol configuration for Mnemo Cards e2e testing
|
|
app_name: mnemo_cards
|
|
package_name: com.mnemo.cards
|
|
bundle_id: com.mnemo.cards
|
|
|
|
# Test configuration
|
|
test_timeout: 300s
|
|
test_retries: 2
|
|
|
|
# Platform-specific settings
|
|
android:
|
|
app_apk: build/app/outputs/flutter-apk/app-debug.apk
|
|
test_apk: build/app/outputs/apk/androidTest/app-debug-androidTest.apk
|
|
|
|
ios:
|
|
app_bundle: build/ios/iphonesimulator/Runner.app
|
|
test_bundle: build/ios/iphonesimulator/RunnerUITests-Runner.app
|
|
|
|
# Test directories
|
|
test_dirs:
|
|
- integration_test/
|
|
- test/e2e/
|
|
|
|
# Environment variables for tests
|
|
env:
|
|
- FLUTTER_TEST: true
|
|
- MNEMO_TEST_MODE: e2e
|
|
- API_BASE_URL: http://localhost:8080
|
|
|
|
# Test patterns
|
|
test_patterns:
|
|
- "**/*_test.dart"
|
|
- "**/*_e2e_test.dart"
|
|
- "**/*_patrol_test.dart"
|
|
|
|
# Reporting
|
|
reports:
|
|
- format: json
|
|
output: debug_report/patrol_report.json
|
|
- format: html
|
|
output: debug_report/patrol_report.html
|
|
- format: junit
|
|
output: debug_report/patrol_report.xml
|
|
|
|
# Screenshots and videos
|
|
screenshots:
|
|
enabled: true
|
|
directory: debug_report/screenshots/
|
|
|
|
videos:
|
|
enabled: true
|
|
directory: debug_report/videos/
|
|
|
|
# Performance monitoring
|
|
performance:
|
|
enabled: true
|
|
metrics:
|
|
- memory_usage
|
|
- cpu_usage
|
|
- network_requests
|
|
- frame_rate
|