<div class="gmail_quote">On Mon, Aug 23, 2010 at 10:53 AM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">I’m one of those that gets annoyed with a bunch of tests named TestFeature because, as Marcus said, it’s redundant and is tiresome to manage. In addition to having to type more at the command line, you get other irritating features like having all the tests grouped together on the dashboard rather than divided in alphabetic sections.<br>
<br>
It occurs to me, though, that what Bill and David (and even Marcus) have advocated is that the <i>source code</i> be named TestFeature.cxx, whereas Marcus and I have advocated that the <i>test</i> be named Feature. Thus, we should be able to have both. Why not make the convention to name the source code starting with Test and then have some CMake commands to strip off the Test part for the actual name of the test?<br>
<br>
-Ken<div><div></div><div class="h5"></div></div></span></font></div></blockquote></div><br><div>Sounds OK to me. I have added a question here: <a href="http://www.vtk.org/Wiki/TestingGuidelines">http://www.vtk.org/Wiki/TestingGuidelines</a></div>
<div><br></div><div>about when to use a "test prefix" (for lack of a real term).</div><div><br></div><div>e.g.</div><div>CREATE_TEST_SOURCELIST([name]Tests ArrayCxxTests.cxx</div><div><br></div><div>show up in ctest as</div>
<div>Start 33: [name]-TestArrayBool</div><div><br></div><div>This could be another solution to your alphabetization problem?</div><div><br></div><div>David</div>