Ask Your Question
0

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
0

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

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 13 times

Last updated: Aug 08 '13