Re: C Source Code Generator For Test Cases
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
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
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
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
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
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
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