Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 295647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:28:35+00:00 2026-05-12T06:28:35+00:00

Sort of a spinoff of this question. Do you keep them in the source

  • 0

Sort of a spinoff of this question. Do you keep them in the source tree? Do you keep them in source control?

I’m thinking that if your test cases refer to files, then the files are part of the behavior specification of the system, therefore they’re associated with the current version of the system, therefore they should be checked into source control. But I don’t think they should be checked out locally, because they don’t need to be, and they can potentially be quite large. So I’m leaning towards having a parallel tree, such that if a project’s code files are at $svn/Code/foo/bar/baz, the associated test data files are in $svn/TestData/foo/bar/baz, and the latter will be accessed directly from the server using some kind of common test data helper class (which maybe caches files locally?), which can just accept relative paths and figure out where to find them. Does this make sense?

I guess there’s the related question of how extensively I should be using external files for testing in the first place. I do think they’re often good for higher-level “acceptance” tests.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:28:35+00:00Added an answer on May 12, 2026 at 6:28 am

    But I don’t think they should be checked out locally, because they don’t need to be

    Why not? Tests are an integral part of any complex software system. If they can’t run without their data, then they become useless.

    The idea of remotely grabbing test data as it is needed is intriguing, but then you become reliant on a connection to your Subversion server when all you need to do is run tests. I think it adds unnecessary complexity to what should be a simple thing to do; running tests should never be a bottleneck to development.

    In addition to this, you might want to consider the fact that you have to now upkeep two different svn trees. This could become a nightmare when you have multiple feature branches and releases or tags.

    To explicitly answer your question, we keep our test files in <project root>/tests, so that each branch has its own set of working and useful tests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So this one is sort of a language agnostic question that I don't really
related (sort of) to this question. I have written a script that will loop
Sort of a methods/best practices question here that I am sure has been addressed,
I sort of understand this, at least the function of generators (I've used them
Sort of a fringy, non-practical question coming along here. You know that in Perl
As sort of a follow up to this previous question: Normalizing a variety of
This sort of question is a first for me, because I'm wondering if something
(Sort of a newbie question from someone that is more accustomed to how Flash/ActionScript
Sort of a noobie question... In the final line of this function, I understand
Sort of noob-rails question ;): I've got 2 actions in my controller - index

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.