Forum Discussion

testbuilder's avatar
testbuilder
Contributor
4 years ago
Solved

Looking a version control solution which is easier in case of keyword tests

We are a team of 3 testers and we are using team foundation server for version control. We use keyword tests for testing.  What is the best way of sharing the code between 3 of our testers? TFS do...
  • tristaanogre's avatar
    4 years ago

    Just an FYI, the very structure of a KDT file is not going to play 100% nice with most version control systems out there.  KDT files are a type of XML.  Generally, that wouldn't be a problem.  But because it's not standard coding structures and the tagging isn't always clear, version control systems' auto-merge capabilities don't always play nice. 

     

    Generally, as a rule of thumb, I suggest that, if you have a team of folks, don't have more than on person working on the same KDT file at the same time.  Likewise, don't have them working on NameMapping updates at the same time.  

     

    As for sharing code on a drive... that's OK... but it's not ideal.  Everytime one person clicks "Save" on the project, the other will get a message "Hey, the file updated.  Want to refresh?"

     

    All.

    The.

    Time.

     

    If you DO need to have two people working on the same KDT at the same time, best thing to do is manually merge their steps within the TC editor and not use the auto-merge of your source control system.