[Insight-developers] SimpleITK - language specific test
Bradley Lowekamp
blowekamp at mail.nih.gov
Thu Mar 31 09:14:57 EDT 2011
Dan,
Thanks. I saw the PythonTest.cxx just after I posted. Initially I was looking for a Java one. There does not seem to be an example driver to Tcl, Java, R, or C#. To the Jira issue reporter!
Brad
On Mar 31, 2011, at 8:59 AM, Daniel Blezek wrote:
> Sure. Write the test in Python, the Examples directory is a good place to put it. Your script should take input and output images, with optional arguments. Edit the PythonTests.cxx file in Testing/Unit. This constructs a command line to call the correct Python and passes in test data. Once “RunExecutable” finishes, you need to check the output (for baseline or hash).
>
> -dan
>
> On 3/30/11 1:06 PM, "Bradley Lowekamp" <blowekamp at mail.nih.gov> wrote:
>
>> Dan,
>>
>> I would like to write a test just for python. I am not sure how to do it with our current testing frame work. Can you provide some insight?
>>
>> Thanks,
>> Brad
>>
>> ========================================================
>>
>> Bradley Lowekamp
>>
>> Lockheed Martin Contractor for
>>
>> Office of High Performance Computing and Communications
>>
>> National Library of Medicine
>>
>> blowekamp at mail.nih.gov
>>
>>
>>
>
> --
> Daniel Blezek, PhD
> Medical Imaging Informatics Innovation Center
>
> P 127 or (77) 8 8886
> T 507 538 8886
> E blezek.daniel at mayo.edu
>
> Mayo Clinic
> 200 First St. S.W.
> Harwick SL-44
> Rochester, MN 55905
> mayoclinic.org
> "It is more complicated than you think." -- RFC 1925
========================================================
Bradley Lowekamp
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110331/2e46f7fb/attachment.htm>
More information about the Insight-developers
mailing list