Re: C Source Code Generator For Test Cases

2007-10-03 Thread gamename

 You might want to look at COG (http://www.nedbatchelder.com/code/
 cog/).  It might be helpful to you.  I really enjoy using it and keep
 finding things to use it with.

Thanks Mike.  I agree. COG looks really promising.

-T

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: C Source Code Generator For Test Cases

2007-10-01 Thread MikeBeard
On Sep 28, 1:48 pm, gamename [EMAIL PROTECTED] wrote:
 Hi,

 Can anyone recommend a good method of using python to generate c
 source code?   I have tables of test cases to use as input to a
 process which would generate the test's source code.  The Cheetah tool
 looks interesting.  Has anyone used it? Any other suggestions?

 TIA,
 -T

You might want to look at COG (http://www.nedbatchelder.com/code/
cog/).  It might be helpful to you.  I really enjoy using it and keep
finding things to use it with.

Good luck.

Mike

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: C Source Code Generator For Test Cases

2007-09-29 Thread Marc 'BlackJack' Rintsch
On Fri, 28 Sep 2007 12:57:49 -0700, gamename wrote:

 How about using c-types to access your C-stuff to test, and use python + the
 testcase-tables to invoke that?

 
 Sure, that's possible.  But the source code for tests (once all the
 parms are read)
 still needs to be generated.  Calling the lib from python or from C,
 there still
 needs to be a way to generate 100+ test routines. ;-)

Instead of reading the testcase tables and generating source for test
routines you simply can do the tests right away.

Ciao,
Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: C Source Code Generator For Test Cases

2007-09-29 Thread gamename

 Instead of reading the testcase tables and generating source for test
 routines you simply can do the tests right away.


Can't. :(  This is for an embedded system.  I need to create source
(in C) on one machine and then compile on others.  The only thing that
I can be certain of is an ANSI compiler on any machine I use.

-T

-- 
http://mail.python.org/mailman/listinfo/python-list


C Source Code Generator For Test Cases

2007-09-28 Thread gamename
Hi,

Can anyone recommend a good method of using python to generate c
source code?   I have tables of test cases to use as input to a
process which would generate the test's source code.  The Cheetah tool
looks interesting.  Has anyone used it? Any other suggestions?

TIA,
-T

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: C Source Code Generator For Test Cases

2007-09-28 Thread Diez B. Roggisch
gamename wrote:

 Hi,
 
 Can anyone recommend a good method of using python to generate c
 source code?   I have tables of test cases to use as input to a
 process which would generate the test's source code.  The Cheetah tool
 looks interesting.  Has anyone used it? Any other suggestions?

How about using c-types to access your C-stuff to test, and use python + the
testcase-tables to invoke that?

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: C Source Code Generator For Test Cases

2007-09-28 Thread gamename

 How about using c-types to access your C-stuff to test, and use python + the
 testcase-tables to invoke that?


Sure, that's possible.  But the source code for tests (once all the
parms are read)
still needs to be generated.  Calling the lib from python or from C,
there still
needs to be a way to generate 100+ test routines. ;-)

-T

-- 
http://mail.python.org/mailman/listinfo/python-list