在 Eclipse 中,如何使用 py.test 执行文件夹中的所有文件?
In Eclipse, how do I execute all files in a folder using py.test?
我有一个文件夹,其中包含几个以 "test_" 开头的文件,每个文件都包含测试。如何使用 py.test 在单个 运行 下使用 Eclipse 执行所有文件?
右键单击 Parent/Test module
、select Run As
,然后单击 select Python unit-test
。它将 运行 所有以该模块的 test_
开头的测试用例
我有一个文件夹,其中包含几个以 "test_" 开头的文件,每个文件都包含测试。如何使用 py.test 在单个 运行 下使用 Eclipse 执行所有文件?
右键单击 Parent/Test module
、select Run As
,然后单击 select Python unit-test
。它将 运行 所有以该模块的 test_
开头的测试用例