Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能有对redis tcl测试框架的介绍和入门 #109

Open
judeng opened this issue Feb 9, 2023 · 3 comments
Open

希望能有对redis tcl测试框架的介绍和入门 #109

judeng opened this issue Feb 9, 2023 · 3 comments

Comments

@judeng
Copy link
Contributor

judeng commented Feb 9, 2023

redis的tcl测试框架越来越复杂,而且注释很少,对不熟悉tcl语言的人来说理解很吃力,无法快速入门,搜了下中文互联网上也几乎没有相关介绍

@ncghost1
Copy link
Member

ncghost1 commented Feb 9, 2023

是想要多增加一个md文件之类的做介绍还是在测试里写注释呢?这个测试的东西我也不太懂,问一下 @enjoy-binbin

@enjoy-binbin
Copy link
Collaborator

简单的单测的内容还是蛮容易看懂的,不过这方面的确没啥资料,我自己也是随着时间积累才说会比较熟练

当然最好的办法还是说去看其它人的单测用例,一般加东西的时候,可以看有没有对应相类似的单测,然后看之前的怎么写,然后照着抄一下,可能就是一些公共辅助方法,没见过的话可能会不知道有

可能之后我可以说弄个文档来吧,如果只是单纯的介绍下入门写单测,而不是要理解原理,简单的介绍一下应该还是可以的

@judeng
Copy link
Contributor Author

judeng commented Feb 9, 2023

@enjoy-binbin 感恩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants