70 likes | 79 Views
The testing model has evolved over time in order to align with new tools and technologies. The idea of continuously integrating software and taking it through testing as part of a pipeline makes sense, but we still have many challenges with code quality. Developers need ways to gauge the success of their automated tests. They need feedback so they can adjust the code or fix errors before production deployment on actual customers' machines.<br>Visit - https://www.testevolve.com/
E N D
THE EVOLUTION OF THE TESTING MODEL AND WHERE IT WILL GO NEXT
From the V-model to the test pyramid, testing models reflect the structure and needs of the leading software development life cycle methodology. New models such as Spotify’s honeycomb illustrate the evolving nature of software architecture and automation tools.
THE EARLY DAYS: THE V-MODEL When the waterfall model ruled software development life cycles (SDLCs), testing could only be done after the final development stage was completed. As a result, the testing phase was often rushed. By then, the errors it uncovered could be costly to repair. One of the early testing models developed to address these issues was the V-model — named for the V-shaped diagram outlining its development and testing steps. It is also sometimes referred to as the validation or verification model.
THE TEST PYRAMID: ELEVATED AGILE LIFE CYCLES As technology and development cycles sped up, the waterfall methodology gave way to more iterative processes and, eventually, to the agile methods widely used today. Just as the V-model evolved to adapt to the needs of waterfall development, a new testing model arose as an answer to accelerated development timelines. The philosophy of the testing model shifted as well. Instead of redefining the role of testing in the SDLC, the new model — the test pyramid — served as a strategic metaphor to outline the volume, type and order of testing that would best optimize for speed, effort and cost.
The “test pyramid” was coined by author Mike Cohn in his 2009 book Succeeding with Agile, which visually represents a three-part testing strategy. Unit testing serves as the widest foundation layer, and services or integration testing makes up the middle layer, leaving UI or end- to-end testing for the top layer. Most testing is done at the unit level, where both developers and testers can break down larger functions into smaller pieces to validate and test as they build. In the middle stage, testers validate functions that work together, as well as APIs and services that enable end- user functionality. Both of these stages are ideal for automated testing.
SPOTIFY’S HONEYCOMB MODEL: A REFLECTION OF SHIFTING ARCHITECTURE Testing models continue to evolve as the nature of applications changes. In 2018, the engineering team at Spotify outlined their own model that they felt better captured the testing needs of a microservice-based architecture. This new shape reflects a system architecture that focuses on APIs and has fewer and smaller individual units to test. Spotify’s model has gained traction as more organizations move toward a cloud infrastructure similarly based on APIs and service integrations. These shifts have led to higher volumes and the greater importance of integration-focused validations relative to the other two testing areas.
WHAT’S NEXT? THE FUTURE OF THE TESTING MODEL While testing models themselves may morph over time in various ways to reflect the evolving needs of the industry, it’s important to remember that, at its foundation, any testing model is a visual aid that illustrates a testing philosophy. No model can dictate how testing actually happens. Visual models may be most useful for generating consensus among development teams on an approach to software testing. Once leadership has agreed on a testing plan, they are better able to hire the right team and equip them with the tools needed to accomplish the goal. Reference : https://www.testevolve.com/