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

时间:2015-05-04 12:59:19

标签: testing plone

我需要在archetypes.querywidget上修复它,它的buildout不会创建bin / test脚本。

我应该使用buildout.coredev吗?我是否需要更改它的结帐才能运行测试?

1 个答案:

答案 0 :(得分:5)

是。请对所有核心软件包使用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(确保您不提交),或者只是转到目录并手动签出特定版本。