Re: [Boston.pm] C++ books

2013-04-16 Thread David Cantrell
On 15/04/2013 19:35, Ben Tilly wrote: I'm writing some C++ at the moment that fits into the first group (performance-critical code). For unit testing I've been emitting TAP protocol and testing it with prove, but are there better approaches? I get a test file with a lot of code that looks

Re: [Boston.pm] C++ books

2013-04-16 Thread Ben Tilly
On Tue, Apr 16, 2013 at 4:02 AM, David Cantrell da...@cantrell.org.uk wrote: On 15/04/2013 19:35, Ben Tilly wrote: I'm writing some C++ at the moment that fits into the first group (performance-critical code). For unit testing I've been emitting TAP protocol and testing it with prove, but

Re: [Boston.pm] Test code generation (was C++ books)

2013-04-16 Thread Gyepi SAM
On Mon, Apr 15, 2013 at 11:35:22AM -0700, Ben Tilly wrote: On Mon, Apr 15, 2013 at 11:09 AM, Greg London em...@greglondon.com wrote: For unit testing I've been emitting TAP protocol and testing it with prove, but are there better approaches? I get a test file with a lot of code that looks

Re: [Boston.pm] Test code generation (was C++ books)

2013-04-16 Thread Greg London
Instead, I generate the test file from a simpler data file that only contains the relevant test data. When I was verifying a hardware-based image converter, I used that approach. You gave it an image file, a small file that contained some register settings that indicated what we wanted the

Re: [Boston.pm] Test code generation (was C++ books)

2013-04-16 Thread Ben Tilly
On Tue, Apr 16, 2013 at 6:51 AM, Gyepi SAM gy...@praxis-sw.com wrote: On Mon, Apr 15, 2013 at 11:35:22AM -0700, Ben Tilly wrote: On Mon, Apr 15, 2013 at 11:09 AM, Greg London em...@greglondon.com wrote: For unit testing I've been emitting TAP protocol and testing it with prove, but are there

Re: [Boston.pm] C++ books

2013-04-16 Thread Mason Loring Bliss
On Fri, Apr 12, 2013 at 11:12:06AM -0400, Mike Small wrote: Did you like Deitel and Deitel or was it a compromise ...for my part, I bought the their _C++ for Programmers_ book and immediately regretted it. Their notion of for programmers seems to mean you managed to get your microwave to stop

Re: [Boston.pm] Test code generation

2013-04-16 Thread Gyepi SAM
On Tue, Apr 16, 2013 at 11:35:55AM -0700, Ben Tilly wrote: On Tue, Apr 16, 2013 at 6:51 AM, Gyepi SAM gy...@praxis-sw.com wrote: On Mon, Apr 15, 2013 at 11:35:22AM -0700, Ben Tilly wrote: On Mon, Apr 15, 2013 at 11:09 AM, Greg London em...@greglondon.com wrote: For unit testing I've been