这将在junit中捕获标准输出,但不会打印出来 py.test --verbose simpletest.py --junit-xml=test.xml 这不会捕获junit中的stdout并将其打印出来
確定! 回上一頁