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

提供一个layotto的本地模式,为sdk提供ci的能力 #913

Open
wenxuwan opened this issue Apr 22, 2023 · 4 comments
Open

提供一个layotto的本地模式,为sdk提供ci的能力 #913

wenxuwan opened this issue Apr 22, 2023 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@wenxuwan
Copy link
Member

What would you like to be added:

当前Layotto的sdk未集成ci的能力,可以提供一个mock版本的layotto来帮sdk做集成测试

@wenxuwan wenxuwan added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 22, 2023
@github-actions
Copy link

Hi @wenxuwan,
Thanks for opening an issue! 🎉

@wenxuwan wenxuwan changed the title 为每个API提供一个本地的mock能力,可以为sdk提供ci的能力 提供一个layotto的本地模式,为sdk提供ci的能力 Apr 22, 2023
@seeflood
Copy link
Member

seeflood commented Apr 26, 2023

CI 里会测试sdk的,包括:

  1. 自动测试quickstart 文档,文档里会下载多语言的demo跑测试,demo会用到sdk

例如 https://mosn.io/layotto/#/zh/start/lock/start

这个会下载go 和java的demo跑测试
image

  1. ci 里自动跑sdk的单测,比如 go sdk 的单测:

image

  1. CI 里的集成测试也会用到sdk:

image

@seeflood
Copy link
Member

CI跑sdk测试的框架已经有了,需要补充更多sdk的测试用例,比如:
#686

@wenxuwan
Copy link
Member Author

wenxuwan commented Apr 26, 2023

CI跑sdk测试的框架已经有了,需要补充更多sdk的测试用例,比如: #686

这是layotto的ci触发的测试,这个issuse是想给每个sdk仓库,都配置个ci,这样用户提交代码到sdk仓库时,可以回归到。当前golang的sdk仓库虽然在layotto下面,后面都要拆出去到单独仓库

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants