heynemann / pyvows

Python implementation of Vows.js
http://pyvows.org
MIT License
133 stars 28 forks source link

Add ability to capture output #116

Closed coreypobrien closed 9 years ago

coreypobrien commented 9 years ago

Added ways to capture output associated with a context or vow where it was generated. An optional switch wraps stdout and stderr, or tests can directly write to VowsParallelReporter.output['stdout'] or VowsParallelReporter.output['stderr'] as needed. XUnitReporter puts this data in the system-out and system-err nodes.

Also, fix bug in xunit reporting when a vow for a captured error fails.

coreypobrien commented 9 years ago

Meant to pull from my fork, and found one last issue to fix anyway. Closing this in favor of a pull from my own fork.