[Insight-developers] Need to add images for new tests to Data -- how to do that in a Gerrit topic?

Bill Lorensen bill.lorensen at gmail.com
Thu Nov 4 10:35:40 EDT 2010


Please keep the process as simple as possible. We need to encourage testing.

My preference would be to move the Testing baselines into the main
repository, just like it was before.  Adding a baseline should be as
painless as possible. The Testing data can reside somewhere else, but,
as Kent said, it should be downloadable all at once to allow testing
without an internet connection.

I think the current setup is too complicated. Actually, I don't understand it.

On Thu, Nov 4, 2010 at 10:18 AM, kent williams
<norman-k-williams at uiowa.edu> wrote:
> I don’t object to using one of those remote repository methods to store test
> data, with these concerns:
>
> The complexity of the process needs to be managed.  If it means I have learn
> a new API and write an extra hundred lines of code just to pull an image
> down for testing, that’s breaking the current process.
> There should be a way to pull down the testing data corpus as a whole. You
> should be able to run CTest without an Internet connection.
> I’m not sure anyone wants to go back and re-write every existing regression
> test.  Even if it only takes 10 minutes a test that would be nearly 7 weeks
> of full time work.
>
> Some of these concerns could be addressed with CMake --
>
> Have a CMake Macro that can grab a file based on URL or whatever, and store
> it in the Data directory. Maybe roll this into add_test() -- something like
> add_test(<current params> REQUIRED_DATA_FILES <list of URLs or whatever>)
> Have a top level CMake option that defaults false —
> FETCH_AND_CACHE_TEST_DATA
>
>
>
> On 11/4/10 7:58 AM, "Hans Johnson" <hans-johnson at uiowa.edu> wrote:
>
> We should revisit the earlier discussed topic of removing data from the SCM
> repository all together, and make all data accessible through a public
> repository outside the ITK development tree (MIDAS, http, XNAT, something
> else, all of these....).
>
> The data should be dynamically downloaded during the running of the tests
> and cached locally when needed.
>
> Hans
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>


More information about the Insight-developers mailing list