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] 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