Menu

Printing status. How to?

Help
2006-05-10
2013-04-22
  • Leandro Melo (ltcmelo)

    I'd like to print a status message for each test class I run.
    For example,
    "Running Test_Money..."
    However, if I a place a std::cout in either the constructor or in setup this message is repeated for each test in class Money (I know this is what should happen). And I only want one initial messsage. What should I do?

     
    • Leandro Melo (ltcmelo)

      Let me re-state my question.
      I checked the docs and notices BriefTestProgressListener. However, this class prints the status for each test. I'd like to print the status for each class (and not for each test in that class). Is it possible?
      Thanks.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.