【发布时间】:2021-05-26 14:51:03
【问题描述】:
将多个文件传递给 unittest discover 中的模式的方法是什么?
看起来它正在使用 Shell 模式,从源代码中我看到使用了 fnmatch。
目标是同时运行多个从 CPython 开始的 IronPython 作业(我们需要跨平台的 func)
C:\IronPython\net45\ipy.exe -m unittest discover -s C:\git\TEST\Common -p "test1.py test2.py" -t C:\git\TEST\Common
是否可以将多个文件作为单元测试的模式传递?
【问题讨论】:
标签: python python-unittest ironpython