Appium-End Test Coverage(结束测试覆盖率)

End Test Coverage


Get test coverage data //获取数据

Example Usage
Java driver.endTestCoverage("Intent", "/path");
Python self.driver.end_test_coverage("Intent", "/path")
Javascript // webdriver.io example
driver.endCoverage("Intent", "/path");
// wd example
await driver.endTestCoverageForApp("Intent", "/path");
Ruby # ruby_lib example
end_coverage("Intent", "/path")
# ruby_lib_core example
@driver.end_coverage("Intent", "/path")
C# driver.EndTestCoverage("Intent","/path");
PHP $driver->endTestCoverage('Intent', '/path');
Support
Appium Server

详见

Appium Clients

详见

HTTP API Specifications
Endpoint

POST /session/:session_id/appium/app/end_test_coverage

URL Parameters
name description
session_id ID of the session to route the command to
JSON Parameters
name type description
intent string Intent to broadcast
stringFile string Path to .ec file
Response

null

上一篇:都100%代码覆盖了,还会有什么问题?


下一篇:Python - Coverage 代码覆盖率