阅读背景:

使用装饰器和元类跳过所有单元测试,但在Python中

来源:互联网 

I am writing unit tests for an MCU that communicates commands through the USB port and checks their response. If one unit test fails it makes sense for me to do some debugging in the MCU. Therefore I would like to disable all unittests except for the one that I would like to debug on the MCU side because if I set a breakpoint somewhere it might get triggered by another unittest with different commands.I am writing unit tests for an MCU that communi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: