[Development] QThread usage/guidance

Tony Van Eerd tvaneerd at rim.com
Wed Oct 10 18:25:01 CEST 2012


> -----Original Message-----
> From: Olivier Goffart [mailto:olivier at woboq.com]
> 
> > So I'd like to understand how it works.  Maybe that means looking
> more at
> > the code than the docs.  But the code can change - the real
> "contract" is
> > in the docs.
> 
> Depends of the point of view... To me the real "contract" is in the
> test :-)
> 

Oh, there's a topic! For another day, but in short:

I've often thought that testing and documentation should somehow be combined.  Why do I need to write
	"sqrt(x) returns y such that y >= 0 and y * y == x..."
more than once? (ie once in the docs and once in the tests)

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.



More information about the Development mailing list