Subj : Re: tools to build design of application To : Phlip From : Matthias Kaeppler Date : Sat Jul 30 2005 11:42 am Hi Philip, I have read your article as well as the CppUnit Cookbook and I have a question: All the tests desribed in the examples only seem to make sense for programs/operations of functional nature (functional meaning taking input and delivering output). This is however the least common case for programs implemented in procedural or OO languages. Here, most functions are simply of procedural nature in that they are just executing a bunch of statements. Even more, returning error codes which could be checked is also less common when you have exceptions. So my question would be: How would I write tests for procedures which return nothing (and which for example make like 95% of the program I'm currently developing)? Can such methods be tested at all with such a test framework and how would these tests look like? Regards, Matthias -- Matthias Kaeppler .