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

Testing 如何在本地运行archetypes.querywidget测试套件?,testing,plone,Testing,Plone,我需要修复archetypes.querywidget,它的构建没有创建bin/test脚本 我应该使用buildout.coredev吗?我是否需要更改它的签出以运行测试?是。请对所有核心包使用buildout.coredev。有关更多详细信息,请参阅我们的文档: 简短版本: git clone -b 4.3 https://github.com/plone/buildout.coredev.git cd buildout.coredev python bootstrap.py bin/bu

我需要修复archetypes.querywidget,它的构建没有创建bin/test脚本


我应该使用buildout.coredev吗?我是否需要更改它的签出以运行测试?

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

简短版本:

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(确保不提交),或者直接转到目录并手动签出特定版本