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

时间:2021-05-31 20:28:27

I need to make a fix at archetypes.querywidget and it's buildout is not creating the bin/test script.

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

Should I use buildout.coredev? do I need to change it's checkouts to run the tests?

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

1 个解决方案

#1


Yes. Please use buildout.coredev for all core packages. See our docs for more details:

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

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

Short version:

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

If you want a specific version, you can either amend sources.cfg (make sure you don't commit), or just go to the directory and checkout a specific version manually.

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

#1


Yes. Please use buildout.coredev for all core packages. See our docs for more details:

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

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

Short version:

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

If you want a specific version, you can either amend sources.cfg (make sure you don't commit), or just go to the directory and checkout a specific version manually.

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