客户端测试前沿技术2021年1月17日-思寒
知识点
字节码插桩
Assertion rewriting in Pytest part 1: Why it’s needed – Python Insight 3
插桩:对字节码进行修改,植入逻辑,针对的是字节码、二进制
埋点:在源代码中加入统计相关逻辑,通用使用标准框架,使用对应的api,对关键功能进行统计
打log:
内存泄漏探测工具
LeakCanary 1
性能
Brendan Gregg's Homepage 1
http://product.dangdang.com/23762087.html
代码hook与mock
alibaba/jvm-sandbox-repeater
A Java server-side recording and playback solution based on JVM-Sandbox - alibaba/jvm-sandbox-repeater
diff
seperman/deepdiff
Deep Difference and search of any Python object/data. - seperman/deepdiff
代码自动生成 模板技术
https://github.com/noahmorrison/chevron 1
Jinja — Jinja Documentation (2.11.x)
swagger-api/swagger-codegen
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. - swagger-api/swagger-...
三、自动生成测试用例
1. 自动生成测试用例--录制、监听等
2. 自动生成测试用例--真实行为
3. 用例生成方式