Files
httprunner/uixt
lilong.129 f5f6d177ab fix: optimize report command to avoid creating timestamp directories
- Implement lazy loading for directory creation in config.go
- Add logFile parameter to InitLogger for better control
- Use dynamic directory existence check instead of flags
- Report command now uses console-only logging to prevent directory creation
- Support both JSON and colorized console output formats
- Maintain backward compatibility for all other commands

Changes:
- config.go: Convert directory paths to getter methods with lazy creation
- logger.go: Add logFile parameter and improve logging control
- cmd/root.go: Detect report command and disable file logging
- uixt/*: Update all references to use new getter methods

Fixes the issue where 'hrp report results/' would create unwanted timestamp directories
2025-06-10 12:06:08 +08:00
..
2025-06-09 22:42:19 +08:00
2025-06-09 20:52:32 +08:00

uixt

From v4.3.0HttpRunner will support mobile UI automation testing:

Some UI recognition algorithms are also introduced for both iOS and Android:

  • OCR: based on OCR API service from volcengine, other API service may be extended

Dependencies

OCR

OCR API is a paid service, you need to pre-purchase and configure the environment variables.

  • VEDEM_IMAGE_URL
  • VEDEM_IMAGE_AK
  • VEDEM_IMAGE_SK

Thanks

This uixt module is initially forked from the following repos and made a lot of changes.