简体   繁体   中英

Module level setup and teardown with nose2

How does one indicate module-level setup and teardown methods with nose2? It doesn't seem to be the same as with nose and I can't find documentation. Thanks in advance.

The introduced layers plugin to organize fixtures and per-module setup. https://nose2.readthedocs.org/en/latest/plugins/layers.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM