docs: APM
@@ -529,6 +529,6 @@ oclintForProject
|
||||
```
|
||||
|
||||
同类型的文章:
|
||||
- [如何打造团队的代码风格统一以及开发效率的提升](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.53.md)
|
||||
- [如何打造团队的代码风格统一以及开发效率的提升](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.52.md)
|
||||
- [oclint介绍](https://github.com/hdw09/CIHexoBlog/blob/master/source/_posts/OClint学习笔记.md)
|
||||
- [自定义oclint规则](https://github.com/hdw09/CIHexoBlog/blob/master/source/_posts/OCLint-自定义规则101.md)
|
||||
@@ -27,3 +27,28 @@
|
||||
```
|
||||
|
||||
另一种思路是没必要针对每个类的私有方法或者每个方法进行测试,因为等全部功能做完后针对每个类的接口测试,一般会覆盖据大多数的方法。等测试完看如果方法未被覆盖,则针对性的补充 Unit Test
|
||||
|
||||
目前,UI 测试(appium) 还是建议在核心逻辑且长时间没有改动的情况下去做,这样子每次发版本的时候可以当作核心逻辑回归了,目前来看价值是方便后续的迭代和维护上有一些便利性。其他的功能性测试还是走 BDD。
|
||||
|
||||
对于类、函数、方法的走 TDD,老老实实写 UT、走 UT 覆盖率的把控
|
||||
|
||||
> 目前,UITesting 还是建议在核心逻辑且长时间没有改动的情况下去做,这样子每次发版本的时候可以当作核心逻辑回归了,目前来看价值是方便后续的迭代和维护上有一些便利性。例如之前我们分享SDK升级微信和QQSDK,以便支持 universal link 功能,当时有了UITesing,基本上免去了测试人员介入。
|
||||
|
||||
> 如果是一些活动页和逻辑经常变动的,老老实实走测试黑盒...
|
||||
|
||||
> 我觉得一直有个误区,就是觉得自动测试是为了质量,其实质量都是附送的,测试先行是让开发更快更爽的
|
||||
|
||||
> appium 但是后来他自己也说 在iOS平台好像不是很好搞 能做的事情挺少的
|
||||
|
||||
> 投入产出比是不高 那你试试monkey test
|
||||
|
||||
> wwdc上这张图也很清楚,UI其实需要的占比很小的,还是要靠单测驱动
|
||||
|
||||
> 当时我找个UITest的bug都花了不少力气
|
||||
|
||||
> UTTest主要测逻辑的
|
||||
|
||||
> UITest可以测你页面渲染的对不对、按钮点击是否有问题
|
||||
|
||||
|
||||
不过 macaca appium 都可以做到iOS自动化
|
||||
@@ -3,4 +3,5 @@
|
||||
|
||||
|
||||
1. https://mp.weixin.qq.com/s?__biz=MzI4MTY5NTk4Ng==&mid=2247489516&idx=1&sn=97c8b0fd84e5fc5b214539c135919884&source=41#wechat_redirect
|
||||
2.
|
||||
2.
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
* [71、Flutter初体验-安装](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.71.md)
|
||||
* [72、架构设计心得](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.72.md)
|
||||
* [73、Ruby学习](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.73.md)
|
||||
* [74、APM](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.74.md)
|
||||
* [74、带你打造一套 APM 监控系统](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.74.md)
|
||||
* [75、如何写好测试](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.75.md)
|
||||
* [76、iOS Crash分析](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.76.md)
|
||||
* [77、iOS 打包系统构建加速](https://github.com/FantasticLBP/knowledge-kit/blob/master/Chapter1%20-%20iOS/1.77.md)
|
||||
|
||||
BIN
assets/2020-05-13-HTTPDataStructure.png
Normal file
|
After Width: | Height: | Size: 351 KiB |
BIN
assets/2020-05-14-HTTPRequestStructure.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
assets/2020-05-16-HTTPRequestStructure.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
assets/2020-05-16-HTTPResponseStructure.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
assets/2020-05-19-BSDCatchSignal.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
assets/2020-05-20-KSCrashStructure.png
Normal file
|
After Width: | Height: | Size: 186 KiB |
BIN
assets/2020-05-20-signalCrash.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
assets/2020-05-28-SymbolicateLib.png
Normal file
|
After Width: | Height: | Size: 621 KiB |
BIN
assets/2020-05-29-DYSMStructure.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
assets/2020-05-31-KSCrashStoreCrashData.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
assets/2020-06-03-KSCrashCaller.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/2020-06-03-VLQSymbol.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
assets/2020-06-14-CrashLogSymbolicate.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
assets/2020-06-14-ELK.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
assets/2020-06-17-APMServerArch.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
assets/2020-06-17-APMServerWorker.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
assets/2020-06-17-APMStructure.jpg
Normal file
|
After Width: | Height: | Size: 142 KiB |
BIN
assets/2020-06-17-ElastiicsearchAPM.png
Normal file
|
After Width: | Height: | Size: 243 KiB |
BIN
assets/2020-06-17-SymbolicateServerArch.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
assets/2020-06-17-symolication_flow.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
assets/2020-06-19-JSErrorCatch.png
Normal file
|
After Width: | Height: | Size: 404 KiB |
BIN
assets/2020-06-19-ReactNativeCrashMonitor.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/2020-06-20-ReactNativeCrashStack.png
Normal file
|
After Width: | Height: | Size: 524 KiB |
BIN
assets/2020-06-21-ChromeSourceMapENable.png
Normal file
|
After Width: | Height: | Size: 863 KiB |
BIN
assets/2020-06-21-ChromeSourceMapEnableSwitch.png
Normal file
|
After Width: | Height: | Size: 308 KiB |
BIN
assets/2020-06-22-RNReleaseBundle.png
Normal file
|
After Width: | Height: | Size: 445 KiB |
BIN
assets/2020-06-22-RNUncaughtCrash.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
assets/2020-06-23-Jquery.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
assets/2020-06-23-JquerySourceMap.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
assets/2020-06-23-RNCrashLogAnalysis.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
assets/2020-06-23-RNReleaseLog.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
assets/2020-06-23-VLAMapping.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 606 KiB After Width: | Height: | Size: 308 KiB |
|
Before Width: | Height: | Size: 541 KiB After Width: | Height: | Size: 190 KiB |