Ask Your Question

Getting debug output during unit tests

asked 2013-08-05 17:54:59 -0500

Spent some time debugging issues with changes I had to make to unit test code to support a feature in development and was unable to figure out how to get print messages in either the test code itself or in the application code during a unit test run. Thus, debug capability was limited to review of short failure messages and a lot of conjecture and experimentation.

Is it possible to get print statements for either or both the test code and application code during unit tests?

thanks Paul

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-08 02:16:43 -0500

Thanks clayg: ./.unittests --nocapture --nologcapture

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-05 17:54:59 -0500

Seen: 33 times

Last updated: Aug 08 '13