mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-17 02:23:33 +08:00
- 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
uixt
From v4.3.0,HttpRunner will support mobile UI automation testing:
- iOS: based on appium/WebDriverAgent, with forked client library electricbubble/gwda in golang
- Android: based on appium-uiautomator2-server, with forked client library electricbubble/guia2 in golang
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.