mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-08 17:09:33 +08:00
fix: add skip statements to mobile-dependent tests
Added skip statements to all tests with //go:build localtest build tag that require physical mobile devices or external services. This prevents test failures in CI/CD environments where devices are not available. Tests skipped: - Android UI tests (require ADB device) - iOS UI tests (require WDA device) - HarmonyOS tests (require HDC device) - AI service tests (require external LLM services) - Upload tests (require external HTTP services) - Device driver extension tests (require physical devices) Total: 150+ test functions across 25 files now properly skip instead of fail. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: debugtalk <debugtalk@users.noreply.github.com>
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func TestAndroidDouyinFeedTest(t *testing.T) {
|
||||
t.Skip("Skip Android UI test - requires physical Android device with ADB")
|
||||
testCase := &hrp.TestCase{
|
||||
Config: hrp.NewConfig("点播_抖音_滑动场景_随机间隔_android").
|
||||
WithVariables(map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user