<html><head><style type="text/css">body { background: rgba(255, 255, 255, 255); }</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello all, <div><br></div><div>I've installed SimpleITK with Python wrapping and testing ON, but now that I've finished my build, I cannot see how to test it. After building with CMake, I did the following:</div><div><br></div><div>*******************************************</div><div>$ cd Wrapping/</div><div>$ python PythonPackage/setup.py install</div><div>$ python</div><div>>>> import SimpleITK as sitk</div><div>>>> sitk.test("1")</div><div><div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div><div>AttributeError: 'module' object has no attribute 'test'</div></div><div>*******************************************</div><div><br></div><div>Looking at the SimpleITK Jira site, there is a Python virtualenv to test the python install ( <a href="https://issues.itk.org/jira/browse/SIMPLEITK-163">https://issues.itk.org/jira/browse/SIMPLEITK-163</a> ) but it doesn't seem to address testing SimpleITK itself.</div><div><br class="webkit-block-placeholder"></div><div>In the build folder, there is a Testing/Unit/PythonTests folder with many test files, but running them from the command line gives an error "Usage: FooBar tag <input(s)> output". I can't find any documentation to help me, either.</div><div><br></div><div>Cheers,</div><div>Dave </div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-style: normal; "><br></div><div style="font-style: normal; ">----<br>David Welch</div><div style="font-style: normal; "><a href="mailto:david.m.welch@gmail.com">david.m.welch@gmail.com</a><br><br><i>Something you entered<br>transcended parameters.<br></i><i>So much is unknown.</i></div><div><i><br></i></div><div><i>-Salon Magazine, Error Haiku Challenge<br></i><br></div></div>
</div>
<br></body></html>