Thursday

Test Automation for Agile - A different strategy



Test Automation has always been a challenge when it comes to running your suites within the time frame especially in an Agile mode with more builds coming the testing way.

So here is a quick strategy that we tried and seems to be working well for now:

What it used to be:
  • Entire test automation runs for 8-10 hours
  • One big test suite or a few smaller test suites
  • Reusable code being used a lot (which was good , but also had a repercussion of redundant flows)
  • Robust suites which broke less but after complete runs the failures where not always application bugs but automation errors.
  • The whole idea was how much test coverage do we have
  • Metrics were based on number of tests run/passed/coverage and so on..

What it is now:
  • Continuous Integration Builds
  • Test suites do not run that long instead there are dedicated 1 hour suites (To keep the suite below the 60 minute time frame and also have the apt coverage , these would be targeted suites for a particular functionality/stories and not cover anything that the previous suite did)
  • The idea is that these one hour suites would be targeted suites and at any cost will not run over an hour on a single automation box
  • The one hour suites will not have any redundant flows nor will there be at any time more than 5 such suites in our latest test set.
  • The one hour suites will have less than 5% automation defects and should be minimized to almost zilch.
  • Metrics are much better now and the tests actually fail only when there is a genuine defect and not an automation failure.

Comments and suggestions are always welcome , until then Happy testing!



10 comments:

  1. Anonymous16/6/13

    Thanks for your personаl maгvelous posting!
    I truly enjoyеd reading it, уou could bе
    a great author.I ωill ensure that I bookmaгk youг blog аnd ωіll often come back
    from now оn. Ӏ ωant to еncourage уou to ultimately continue yοur great posts, have а nice
    weekend!

    mу page linkеd internet site *http://Cchubnigeria.com*

    ReplyDelete
  2. Anonymous16/6/13

    Heya i'm for the primary time here. I found this board and I to find It truly helpful & it helped me out much. I am hoping to provide one thing again and help others such as you aided me.

    Feel free to visit my web-site ... Visit Website ()

    ReplyDelete
  3. Anonymous19/6/13

    It's an remarkable paragraph in favor of all the web viewers; they will get benefit from it I am sure.

    Also visit my web page - Going At this website

    ReplyDelete
  4. Anonymous22/6/13

    Superb post but I was wanting to know if you could write a litte more on this subject?

    I'd be very thankful if you could elaborate a little bit further. Bless you!

    My web site: finsnation.com ()

    ReplyDelete
  5. Anonymous24/6/13

    I do not know if it's just me or if everyone else encountering issues with your site. It seems like some of the written text within your posts are running off the screen. Can someone else please provide feedback and let me know if this is happening to them too? This could be a issue with my browser because I've had
    this happen before. Appreciate it

    Feel free to visit my web page; trading in chicago :: wiki.gilug.org :
    :

    ReplyDelete
  6. Anonymous27/6/13

    Having read this I thought it was extremely enlightening.
    I appreciate you spending some time and effort to put this article together.

    I once again find myself spending a significant amount
    of time both reading and leaving comments. But so what,
    it was still worthwhile!

    Feel free to surf to my homepage - dating advice for women

    ReplyDelete
  7. Anonymous28/6/13

    After looking over a number of the blog articles on your
    web page, I really appreciate your technique of writing a blog.
    I book-marked it to my bookmark site list and
    will be checking back soon. Please visit my web site as well and let me know your opinion.


    My blog :: penis enlargement *meine-handtasche.de*

    ReplyDelete
  8. Anonymous30/6/13

    You really make it seem so easy with your presentation but I find this matter to be really
    something that I think I would never understand.
    It seems too complicated and extremely broad for me.
    I am looking forward for your next post, I'll try to get the hang of it!

    Also visit my webpage :: relationship tips for men ()

    ReplyDelete
  9. Anonymous1/7/13

    It's remarkable in support of me to have a website, which is helpful in support of my knowledge. thanks admin

    Also visit my web blog ... This Site

    ReplyDelete
  10. Anonymous2/7/13

    Sweet blog! I found it while browsing on Yahoo News. Do you have any
    suggestions on how to get listed in Yahoo News?
    I've been trying for a while but I never seem to get there! Cheers

    Here is my webpage: dating relationships (77.221.149.53)

    ReplyDelete