Python Selenium
2015年8月25日 星期二
A way to output pyunit test name in setup()
You can use self._testMethodName. This is inherited from the unittest.TestCase parent class.
def
setUp
():
print
"In method"
,
self
.
_testMethodName
refer : http://stackoverflow.com/questions/4504622/a-way-to-output-pyunit-test-name-in-setup
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言