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

一个关于旧版本测试的问题 #55

Open
porky-prince opened this issue Jun 24, 2020 · 3 comments
Open

一个关于旧版本测试的问题 #55

porky-prince opened this issue Jun 24, 2020 · 3 comments

Comments

@porky-prince
Copy link
Contributor

倘若现在需要同步兼容laya的最新版本,但作为一个公共库,对于master分支当然也需要兼容2.2以上最新版本以下的旧版本,目前基于canvas的黑盒测试并没有一个成熟的方案,我想请问一下,你是如何做旧版本的兼容测试的?或许可以这样,一个分支对应laya的一个版本,当前分支只要兼容当前laya的版本即可。

@xiaoguzhu
Copy link
Member

master 是用于LayaAir2.2或更新的版本
layair2.0-2.1 分支是用于LayaAir2.0,2.1这两个版本
layair1.x 分支用于LayaAir1.x版本

@porky-prince
Copy link
Contributor Author

如果我现在要pull requests支持最新版本laya2.7.0的代码到master,需要兼容旧版本吗?你是怎么做的?因为我没有看到测试脚本,难道人肉测么?

@xiaoguzhu
Copy link
Member

如果支持2.7的代码不兼容2.2-2.6,那只能新开一个分支了。关键是变化有没有那么大,应该尽量兼容。

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

2 participants