Archive for 17. November 2006

Re: Re: Unit Testing is vital
Hi Sebastien, I’m also relatively new to unit testing but anyway, here is how I get it (I hope someone more experienced with unit testing would comment as well). Regarding sockets and (more...)
Re: Re: Re: About comments in the source code
Hi Sebastien, I think all agree that comments are very important and that’s the reason why all new code is required to have documentation. I would suggest that all code that (more...)
Re: Re: Re: PacketSession: call for brainstorming!
Hi Sebastien, Thanks for the comments! Brainstorming should be going on all the time ;-). Thanks to your comment about the TCP/IP model vs. the ISO/OSI model, I think I finally (more...)
Re: Unit Testing is vital
Hello, Yes i afree that Unit test is useful. And test driven development(write first test and then code) helps a lot in some cases.  But i am wondering if unit test (more...)
Re: Re: About comments in the source code
Hi Yes comments is more than needed it is mandatory. There is otherwise no way for a new developer to join a project, or it would requires a lot of time (more...)
Re: Re: PacketSession: call for brainstorming!
Hello, Here is my thought on this problem(if the brainstorming is still going on  :) ) What do you think about the ISO/OSI layers to classes mapping? How can this mapping be improved? To (more...)
Re: PacketSession Requirements & Specifications RFC
Hi all, Attached is an early version of PacketSessionTest.cpp. It won’t compile yet but hopefully you can have a look at it and give some ideas. I think I slowly start (more...)
Re: Refactored and almost complete PacketTest.cpp
Hi Atul, The tests are nice! I find testInvalidatePayload() particularly interesting! Another interesting test would be to copy a packet that was invalidated, and then call rawPayload() on the copy. Both (more...)
Refactored and almost complete PacketTest.cpp
Hi all I added many tests.... Some of the interesting ones are the self assignment tests. These are supposed not to change the packet semantically ... ( *m_p = *m_p ) (more...)