我如何 运行 archetypes.querywidget 在本地测试套件?

How can I run archetypes.querywidget test suite locally?

我需要在 archetypes.querywidget 处进行修复,它的扩建没有创建 bin/test 脚本。

我应该使用 buildout.coredev 吗?我需要将结帐更改为 运行 测试吗?

是的。请对所有核心包使用 buildout.coredev。有关详细信息,请参阅我们的文档:

https://buildoutcoredev.readthedocs.org/en/latest/intro.html

简短版本:

git clone -b 4.3 https://github.com/plone/buildout.coredev.git
cd buildout.coredev
python bootstrap.py
bin/buildout
bin/test -s archetypes.querywidget

如果你想要一个特定的版本,你可以修改sources.cfg(确保你不提交),或者只是去目录并手动签出一个特定的版本。