SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Source control and code reviews

    Has anyone found a way to integrate testpartner with some kind of source control system? We are looking for a way to version our code ( more than just the click save and a version is created ) and be able to code review what the changes were between the versions. in the perfect world we could then merge the changes and get those back into Testpartner for executioen. If we cant get that last part I can live with that, the main need is to be able to do real version control and tell what the differences are.
    thanks

  2. #2
    Senior Member
    Join Date
    Jun 2002
    Location
    farmington hills, MI, US
    Posts
    713
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source control and code reviews

    Since TP uses a database there is no simple way to implement source control which has been a somewhat hot topic for quite a while. Code reviews are a good idea but how do you prevent someone from just adding their own code at will?

    One thing I thought of that I haven't really tried would be to have a sandlot project that is somewhat of a mirror of your working project. This is a project that users can try things out that should not have any relation to your production project. You really need to make sure that it has nothing in common with your production project as things like shared objects in the Common project may throw the whole thing out the window. You may even want this sandlot project to reside in a different database.

    Once a user has made changes in the sandlot project that they feel would be beneficial to the production project they can get a code review. If the code review is a success, they can export that version and import it to the production project by using the append as new version feature in import.

    I'm sure there are some unforseen flaws in my idea but I don't think there is anything that would be a show stopper.

  3. #3
    Senior Member
    Join Date
    Jan 2008
    Location
    North Carolina
    Posts
    131
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source control and code reviews

    We looked into this when we first started using TP, and came to the same conculsion - can't be done very easily. We are running two TP databases; dev and test. We use dev to development the scripts and when we have them running correctly we export the project (XML) then import it to our test db. TP has it own version of source control as well.
    don, CSTP, QAD/TP user since 06
    Test Partner 6.3; QAD 6.1; QADLoad 5.9

  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source control and code reviews

    We are actually doing the same thing. We are in a regulated industry and need to show proof of code reviews. Also, would really like some side by side compare to show what the changes are. A nice integrated solution like visual studio or other leading development tools have would be ideal.

  5. #5
    Junior Member
    Join Date
    Jan 2010
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source control and code reviews

    Does anyone know if other leading automation tools have any kind of integrated source control or code review options available?

  6. #6
    Senior Member
    Join Date
    Jun 2002
    Location
    farmington hills, MI, US
    Posts
    713
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Source control and code reviews

    The problem is really the database storage of assets as far as source control goes. You may want to contact Micro Focus as their other tool, Silktest, uses flat files for storage.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.34%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:44 AM.

Copyright BetaSoft Inc.