Thread: software regression

  1. #1

    Join Date
    May 2005
    Posts
    1,042

    software regression

    Does anybody have any suggestions for a software regression hunting tool?
    Last edited by BobMcGee123; 07-13-2009 at 08:25 AM.
    I'm not immature, I'm refined in the opposite direction.

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Dunno Bob, but I find Version Control the one and best way to handle any software regression issues.

    EDIT: You may want to try BuildBot. Never used it myself. But sure seems like a good option for automated testing, especially if you move on to use test cases. It integrates well with most version control systems. You'll need python.
    Last edited by Mario F.; 07-13-2009 at 08:56 AM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3

    Join Date
    May 2005
    Posts
    1,042
    I never managed to get the tortoise svn to work. Is it worth the effort? I've actually read pretty good reviews but the problem is I am lazy.
    I'm not immature, I'm refined in the opposite direction.

  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Tortoise svn is pretty good, but it only works on Windows. I actually prefer smartsvn, but it's not free.

  5. #5
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Perforce is by far the best revision control system I've used.
    Others I've used include: Visual Source Safe, CVS, Subversion, & git.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by BobMcGee123 View Post
    I never managed to get the tortoise svn to work. Is it worth the effort?
    Absolutely! My favorite one. Especially because of its integration with Explorer which facilitates normal operations. And it's SVN... I swear by it, especially in comparison to CVS. The manual will help you through the lazy phase since it includes a tutorial.

    Other than SVN, there's only another version control system I truly enjoy. That's Bazaar. I use this one on my Linux machine.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    I like Visual SourceSafe, but im partial to MS developer products. Its not free of course, so you need the developer version of Visual Studio.

  8. #8
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by Mario F. View Post
    Absolutely! My favorite one. Especially because of its integration with Explorer which facilitates normal operations. And it's SVN... I swear by it, especially in comparison to CVS. The manual will help you through the lazy phase since it includes a tutorial.
    To me, CVS & SVN look exactly the same. What's the difference?

    Quote Originally Posted by abachler View Post
    I like Visual SourceSafe, but im partial to MS developer products. Its not free of course, so you need the developer version of Visual Studio.
    That would be my 2nd choice. Perforce isn't free either, but they do let you use it for free for up to 2 users, so it's great for using at home.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  9. #9
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by cpjust View Post
    To me, CVS & SVN look exactly the same. What's the difference?
    The only differences of note (IMHO) are atomic commits and easier branching. Other than that, they're the same old garbage.

    I swear by Perforce. If I didn't have that, I'd probably use git or darcs.

    As to the initial question... You can't do regression testing without test cases.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  10. #10
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by brewbuck View Post
    The only differences of note (IMHO) are atomic commits and easier branching. Other than that, they're the same old garbage.
    You would think there's more to it, right? Well, there is.

    Atomic commits per se are already a big change from cvs. For one it ensures the integrity of the branch and allows for easier/safer roolbacks.

    But, there's also

    - metadata moving and renaming of files, which allows for versioning of these important operations and that is missing from cvs.
    - support for binary files,
    - the ability to use Apache as a server with just a couple of modules (which allows for repositories to be viewed and operated with the help of a browser without the need to install anything else),
    - Certain optimizations. I wouldn't call branching easier (although it could be said so because of the next difference), but faster. In fact, branching is not to my liking in SVN. Once I branch, I need to keep track of the the revision number somewhere (I use the revision log) and merge manually. Blah! But along with commits and updates, branching benefits from a few optimizations that allow for faster operations and less bandwidth usage. Commits and updates, for instance, only send diffs.
    - An easier to use command line syntax.

    Maybe the last two are not on your top list. Dunno. But the first 3 are real advantages over cvs. Meanwhile SVN mission statement was never to create something new. The objective was to make a better CVS aiming at those areas that were missing and simplifying operations.

    In any case calling any of the major versioning control systems in existence (perforce, cvs, svn, bazaar, git, ...) garbage, seems to me unjustified. These are widely used VCS's, some of them helping to maintain large scale projects. If you don't like SVN, fine. I don't like perforce. I just don't think of calling it garbage.

    EDIT: Although CVS may be the exception indeed.
    Last edited by Mario F.; 07-13-2009 at 09:15 PM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  11. #11
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by Mario F. View Post
    You would think there's more to it, right? Well, there is.
    No disrespect (you know I respect, right?) but that sounds like "My car's better than your car because it has windows, door locks and a steering wheel."

    I don't think a source control system of any kind is worth a standing ovation. I do appreciate how easy or difficult the SCCS makes it to implement a particular team strategy. For ten years I used RCS to manage a million-line codebase. I couldn't even see how much it sucked until afterward. I only had a brief stint with CVS before ending up with Perforce, not by choice in the beginning but definitely by choice now.

    Seriously, all I'm trying to say is you've got a fairly clear hierarchy of suckage in the SCCS systems out there. I'll leave it there
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  12. #12
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I'll have to agree with you on that one.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  13. #13
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    > For ten years I used RCS to manage a million-line codebase.
    You should share your bash script

    Well it's easy to hate things you haven't tried, or rather "talk them down". I haven't tried git yet, but I know it's wonderful

  14. #14
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by zacs7 View Post
    I haven't tried git yet, but I know it's wonderful
    You should see the problems Git keeps giving me! I'd rather use SVN than Git.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  15. #15
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    My main beef with Git spurs from one of its advantages.

    Git performance improvements over most VCSs has near zero impact on the type of projects I work, since these are essentially small size projects demanding relatively small repositories and having no one else but me doing commits and updates. All in all this isn't much of a reason to not choose Git.

    But Git is not an easy tool to learn. I struggled hard to learn how to perform the simplest tasks. An this type of commitment to a VCS is really something I don't want for me. Especially when I can go by with much easier alternatives without significant loss of features. These tools are to me necessary evils and the least they get in my way, the better. One of the reasons I enjoy so much SVN and especially Bazaar.
    Last edited by Mario F.; 07-14-2009 at 11:20 AM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Decent TV recording software - ideas?
    By ulillillia in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 04-04-2009, 08:20 PM
  2. Software Design/Test - Redmond, WA
    By IRVolt in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 06-11-2008, 10:26 AM
  3. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 09:09 AM
  4. Adding trial period to software
    By BobS0327 in forum C Programming
    Replies: 17
    Last Post: 01-03-2006, 02:13 PM