Why automating your Sites tests will REALLY save two thirds of your QA time

  • 49
Let's face it. The vast majority of Sites project are late already the day when development starts.
As a result, delivery pressure is high, budget is usually under heavy scrutiny and all the “unnecessary” development tasks are cut out, since d no one is allowed to “waste time”.

Under this so common scenario, let see what usually happens

The low-quality, late project: one years instead of 5 months

In the standard scenario (I would say, 80% of the real world projects I worked on) pressured developers rush write as much code as they can quickly, while project managers usually plan skipping altogether the task of writing automated test.

The common motivations are usually:
  • “because there is no time”
  • “it is redundant since there is the QA team for that”
  • “We need to double the amount of code to be writter”
Often there is another motivation, but no one admit it: we do not know how to do it!
Developers are expected to code their part and test it… manually. No test code is asked to be delivered.
The big problem you face skipping test automation is the QA team needs to do a lot work. Lot more than necessary actually. The most important waste of time is the need to test and retest everything at every release cycle.

Why? Because in a manual-test-only environment, once a bug is fixed, it not fixed forever! Experience shows bugs thought to be fixed can pop up again at any moment. Also, new bugs will be introduced in old code, so testers do not trust that old bugs are gone! Since there is no way to know the quality of the whole project, testers end up repeating the whole testing cycle many many time.

If you look to real world numbers you can easily see that in a non-automated test environment, the QA cycle can takes up to 3 times the development time. So in a project initially scheduled to be 3 months of work, with 2 months of testing, you usually end up testing and fixing bugs for six to nine months, delivering the project after one full year!

The unfortunate occurrence is the consequence of cut out any “unnecessary”. Or simply not following a true agile practice (although the rush-to-code development method is often sold as an agile one!).

The high-quality, on-time project: 6 months of build-on-quality project

Test automation however, one of the key features offered by AgileSites, is something that can completely change the landscape of your project, keeping it on track even under heavy pressure constraints.

Assume that, even if you have strong time constraints, you can manage to convince the customer to add to the 3 months of planned development time, and to 2 months of testing planned, one extra month allowing developers to actually write automated tests for their code.

I am well aware that that this is a very difficult task for many project managers! I also understand that normally writing tests in sites is not easy. Actually, allowing code testability is the main reason of the existence of AgileSites ! Someone suggested that AgileSites should be instead named TestDrivenSites.

It is also true that writing tests can be seen as an additional burden to put on the shoulders of the developers. So instead of taking 3 months of developments, with appropriate tools it will take maybe 4 months. This can be seen as a waste. It is not: developers are the best people to write automated tests for their code.

Why developers should write tests

You may ask: why should developer write tests? There are the testers for that! That is, unfortunately, an inaccurate view of the development process. First, developers usually DO test their code. They need to. No developer can write a piece of code and produce instantaneous correct code.

Every developer, after writing the code, they verify if it works. At least if it works at least a little bit… The problem with code manually tested is that the test follows an an ad-hoc, unrepeatable and manual process, and is performed in a limited development environment.

As a result, developers ends up testing their code in an unrealistic environment, without integrating their work with the work of others, often limiting to test just a few use cases, and then they throw away forever this significant amount of work! Not writing automated tests usually means to throw away at least half of the development time.

Also a developer is the only person in the world to know really need to be tested, since they wrote they code. They know what they should check. They can look at their code like in a fishbowl and check the fish is doing what is expected. On the opposite, testers are looking in a black box, they have no clue what the code is doing so much of their tests are an educate guess and they may test what is actually constant, so it cannot change! So they waste a lot of time testing unnecessary parts.

Surprise! The extra investment pays off. Hugely.

If you really allows developers do that, benefits are huge.
First, code delivered to the QA teams is in a much better shape. Basically it is already largely tested and mostly works. So the QA team must check for real bugs, not for integration issues, overwritten code, forgotten features.

Second, because there is a test suite, you do not have to run an entire test cycle for every releases. In such an environment, the QA cycle is very fast. The QA team can test the work, then produce bug reports that are sent to developers. Developers will fix the bugs, but because there is a test suite, they can be sure they are not going to introduce new bugs.

Third, the QA team can be confident of the safety of the fixes, and usually they will run the full test life cycle only twice: the first time, and the last, before the release. Using automated tests, there is confidence that only new things must be tested, and not everything.

So just adding one month of extra work (actually, an additional test-while-you-develop, or build-in-quality step) your project can be actually delivered in 6 months!

Those are not hypothetical numbers, are real numbers, proved in countless projects actually following agile practices. Actually, this is Agile development.

Why it is so uncommon to actually automate tests?

Definitely in the Sites world, the biggest obstacle is the lack of tools allowing you to write real tests for your code. In Sites, JSP does not allow for an easy way to automate tests. You have to resort to tools implementing browser automation like selenium.
The problem with browser automation is you end up testing the full rendered html page, the whole thing, the final deliverable. Experience shows if have to test the whole thing without splitting in parts, it is very inconvenient since the combination of the possibilities is huge.
It is much better if you can test the building blocks in isolation. That is what AgileSites test support allows for. Next week I will write a post explaining how AgileSites actually helps you to separate html from java and write unit tests for every parts, but in the meanwhile you can check the relevant page in the tutorial: http://www.agilesites.org/tutorial/Testing.html


49 comments:

  1. I clicked to your website and it’s quite interesting. I see so many things that I haven’t known before. Thank you for submitted your website.
    - USPS Tracking

    ReplyDelete
  2. Incredible Article… I want to read your articles in light of the fact that your composition style is too great, it is extremely useful for us all and I never get exhausted while reading your article on the grounds that...CFA Audit
    Vendor Reconciliation
    CA Firms

    ReplyDelete
  3. Thank you so much for writing keep up like this.
    kajal hot

    ReplyDelete
  4. Most of the students rely on online assignment help to deal with their tasks because they detest the idea of writing assignments. Multiple grammatical and spelling rules and essay writing rules make the process even more complicated and overwhelming.

    ReplyDelete
  5. Nothing is worse than curbing your stupendous new 20-inch rims. A little too much English on the wheel and there goes the rim. While some people have no problem curbing their rims, you are a perfectionist and demand your rims be spotless, rotating discs of elegance. Rather than check your bank account and weigh whether you would rather pay rent or fixing bent rims, try this spiffy do-it-yourself solution. You will not need much more than you already have in your garage and a bit of elbow grease.

    ReplyDelete
  6. Very informative and well written post! Quite interesting and nice topic chosen for the post. My Assignment Help Au has been a pioneer within the Best Assignment Help online services and within the Australia and different countries ceaselessly for over Seven years. Make an order now for professional work, delivered on time and pure. You can email us at cs@myassignmenthelpau.com or Phone Number: +61-2-8005-8656

    ReplyDelete
  7. Procurement Resource Presents The Production Cost Of Liquid Petroleum Gas (LPG) In Its New Report


    The new report by Procurement Resource, a global procurement research and consulting firm, looks in-depth into the costs involved in the production of LPG. The comprehensive report analyses the production cost of the material, covering raw material costs and co-product credit, equipment costs, land and site costs, labour wages, maintenance costs, financing charges, and the depreciation cost. The extensive study describes the step-wise consumption of material and utilities, along with a detailed process flow diagram. The report also assesses the latest developments within the LPG industry that might influence the costs of production, looking into the capacity expansions, plant turnarounds, and mergers, acquisitions, and investments.

    Download a free sample of the production cost of lpg from natural gas and many more

    ReplyDelete
  8. Procurement Resource Presents The Production Cost Of Tomato Puree In Its New Report



    The new report by Procurement Resource, a global procurement research and consulting firm, looks in-depth into the costs involved in the production of tomato puree. The comprehensive report analyses the production cost of the material, covering raw material costs and co-product credit, equipment costs, land and site costs, labour wages, maintenance costs, financing charges, and the depreciation cost. The extensive study describes the step-wise consumption of material and utilities, along with a detailed process flow diagram. The report also assesses the latest developments within the tomato puree industry that might influence the costs of production, looking into the capacity expansions, plant turnarounds, and mergers, acquisitions, and investments.

    Download a free sample of the production cost of tomato puree from mashing and many more

    ReplyDelete
  9. Such a wonderful information blog post on this topic allassignmentservices.com provides assignment service at affordable cost in a wide range of subject areas for all grade levels, we are already trusted by thousands of students who struggle to write their academic papers and also by those students who simply want programming assignment help to save their time and make life easy.

    ReplyDelete
  10. Thank you a lot for taking the time for you to share such a good information. I in fact choose to reading your post.
    Reference: https://v8web.com/

    ReplyDelete
  11. Whether you are an experienced user or brand new to blockchain, MetaMask helps you connect to the decentralized web: a new internet.


    metamask login > metamask wallet | metamask extension

    ReplyDelete
  12. Great Article. I really like your blog. Keep sharing more.Its really the best article!
    metamask login

    ReplyDelete
  13. heyy! everyone, We are an online Rudraksha store named as Rudra samrat. basically, It recognized that rudraksha is a very holy and important part of Indian culture. and closed to lord shiv and lord vishnu, rudraksha is very powerful and protective. It is believed that rudraksha can provide protection from evil eyes and negative energies.
    visit to buy : Online Rudraksha Store

    panch mukhi rudraksha
    sapta mukhi rudraksha
    Online Rudraksha Store
    gayatri yantra
    14 mukhi rudraksha

    ReplyDelete
  14. hello everyone, ITSIPL is a company of IT Services, Storage, Security and SonicWall Reseller based in India. SonicWall Reseller is your gateway to all things SonicWall. Our IT and Security services team has been specializing in the field for years and is able to help you deploy a secure network and maximized productivity with the best software connected to it. We offer end-to-end solutions that are tailored to meet your business needs, whether you need storage, networking or managed security - we have you covered. From custom application development to outsourced security implementations, we can help increase your bottom line by implementing solutions for increased IT uptime and growth.
    Please visit : A Total IT Solutions Company

    reseller of Forcepoint in delhi
    Forcepoint reseller
    sonicwall reseller in delhi

    ReplyDelete
  15. I enjoy reading what you write, and I think your website is excellent. Give us more new informative blogs to read. Consider using The assignment help services in edinburgh, incidentally. This service assists our pupils with their tasks, therefore I think you'll like it.

    ReplyDelete
  16. Hello Everyone,
    A digital marketing company in Delhi is a specialized firm that provides comprehensive marketing solutions to businesses looking to establish an online presence or improve their existing one. We work closely with our clients to understand their brand, target audience, and objectives, and then develop and execute customized strategies to drive traffic, generate leads, and increase revenue.

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Membrane Decors is a leading Event and Exhibition Service Providers in India, specializing in creating stunning and immersive experiences. With their innovative approach and attention to detail, Membrane Decors transforms ordinary spaces into extraordinary showcases. From conceptualization to execution, their team of experts ensures seamless event management, breathtaking stage designs, and engaging exhibitions.

    ReplyDelete
  20. Join the only Regulated Cryptocurrency Marketplace in Canada Bitbuy Canada

    ReplyDelete
  21. I agree. Automating your sites tests can revolutionize project timelines. In the common rush-to-code scenario, skipping test automation leads to prolonged QA cycles and unreliable results. Manual testing perpetuates repeated cycles, delaying projects up to three times their initial schedule.

    At matlabassignmentexperts.com, we excel in delivering exceptional and timely help with FPGA Design projects. Our expert team ensures top-notch solutions, meeting deadlines with precision. Trust us to elevate your academic journey with unmatched support. Your success is our priority!

    ReplyDelete
  22. Excel in Robotics Studies with Exceptional Assistance!

    At matlabassignmentexperts.com, we specialize in robotics assignment help, delivering unparalleled support to students. Our expert team ensures timely, top-notch solutions, allowing you to excel in your studies stress-free. Trust us for unmatched assistance in navigating the complexities of robotics assignments. Your success is our priority!

    ReplyDelete
  23. When selecting the perfect bar furniture for your home, Urbanwood offers a diverse range of options to suit every style and space. Whether you're creating a cozy corner for intimate gatherings or a stylish entertainment area for hosting friends and family, Urbanwood provides an array of bar cabinets designed with both functionality and aesthetics in mind. With thoughtful details such as ample storage, and space-saving designs, Urbanwood ensures that your home bar not only looks inviting but also serves as a practical and enjoyable space for socializing and relaxing.

    ReplyDelete
  24. Thanks for shedding light on the importance of test automation! It's crucial for efficient project delivery and quality assurance. Our site, ProgrammingHomeworkhelp.com, offers reliable programming assignment help services. With our professional experts, you can access unlimited FREE programming assignment samples to enhance your skills and understanding. Boost your project management and coding proficiency with our assistance!

    ReplyDelete
  25. Cutting corners on automated testing delays projects. At ProgrammingHomeworkHelp.com, we ensure top-quality, timely delivery by integrating best practices like automated tests. Our Python Assignment Help
    service provides robust, maintainable code, preparing students for real-world scenarios. Visit our website for expert programming help, ensuring your projects meet the highest standards.

    ReplyDelete
  26. This comment has been removed by the author.

    ReplyDelete

  27. Great post! The benefits of automated testing are clear. It drastically reduces QA time and ensures higher quality delivery. Implementing AgileSites for test automation is a game-changer. Also, for comprehensive Database Exam Help check out the relevant resources.

    ReplyDelete
  28. Great insights on the importance of test automation for timely project delivery! If you're dealing with economics assignments and need reliable help, check out EconomicsHomeworkHelper.com. They offer expert guidance and ensure high-quality work, much like how automated testing ensures quality in software projects. Highly recommended for all your academic needs!

    ReplyDelete
  29. For successful, on-time projects, automated testing is crucial. It minimizes QA cycles and prevents recurring bugs, ensuring higher quality and faster delivery. At MathsAssignmentHelp.com, we specialize in providing expert assistance, including Taylor Series Assignment Help. Our team ensures your assignments are accurate and submitted on time. Visit us to experience the benefits of quality, automated solutions in your academic projects.

    ReplyDelete
  30. Thank you for sharing your insightful perspective on the importance of test automation in project development. Your analysis highlights the critical role that automated testing plays in ensuring project quality and timely delivery. At architectureassignmenthelp.com, we understand the significance of efficient project management and quality assurance processes. That's why we offer comprehensive assistance in architecture assignments, including SketchUp Assignment Help. By leveraging our expertise, students can excel in their coursework while focusing on mastering essential concepts.

    ReplyDelete
  31. This comment has been removed by the author.

    ReplyDelete
  32. This comment has been removed by the author.

    ReplyDelete
  33. This comment has been removed by the author.

    ReplyDelete
  34. This comment has been removed by the author.

    ReplyDelete
  35. Great insights on the importance of test automation for timely project delivery! If you're grappling with AutoCAD assignments help AutoCADAssignmentHelp.com is your go-to destination. They offer expert guidance and ensure high-quality work, much like how automated testing ensures quality in software projects. Highly recommended for all your academic needs!

    ReplyDelete
  36. Navigating the complexities of routing can be challenging, but with the right guidance, you can master it! Whether you're struggling with OSPF, BGP, or EIGRP, seeking professional routing assignment help can make all the difference. Expert assistance not only helps you understand key concepts but also ensures your assignments are completed accurately and on time. Don’t let routing problems hinder your progress—get the support you need to succeed in your networking course today!

    ReplyDelete
  37. I agree. Automating your site tests isn't just about saving time; it's about delivering quality. By investing in test automation, you streamline QA cycles, ensure bug-free releases, and cut project timelines by up to two-thirds.

    Struggling with swarm intelligence simulations? Let us guide you through! At matlabassignmentexperts.com, we specialize in providing top-notch swarm intelligence simulation assignment help. Our team of experts ensures that you grasp the concepts effectively while delivering impeccable solutions. Say goodbye to stress and hello to success with our reliable services. Visit us now!

    ReplyDelete
  38. Maximize your space with multi-functional storage cabinets from Urbanwood, designed to blend style and practicality. These versatile pieces offer ample storage while doubling as decorative elements, perfect for organizing and decluttering your living spaces. Whether used in the bedroom, living room, or office, Urbanwood's cabinets provide smart solutions for modern homes, helping you make the most of every inch with their sleek and space-efficient designs.

    ReplyDelete
  39. Trezor Suite is a user-friendly platform for managing cryptocurrencies securely. It provides seamless access to your Trezor hardware wallet, offering enhanced privacy, security, and transaction management tools.

    ReplyDelete
  40. Overnight Desert Safari with BBQ Dinner Morning Breakfast All-Inclusive Desert Safari , Dubai City Tour and Along the Dhow Cruise in Marina

    ReplyDelete
  41. This is the ultimate desert safari experience in Dubai. On an Evening Desert Safari, you will discover the magic and charm of the Dubai desert, experiencing a world of natural wonder, indigenous wildlife, and Bedouin culture.

    ReplyDelete