De waarde van testautomatisering
Kennis
De waarde van testautomatisering
Efficiëntie en kwaliteit
Testautomatisering is niet meer weg te denken in hedendaagse software-ontwikkeling. Om het ontwikkeltempo bij te kunnen houden moeten testen geautomatiseerd worden uitgevoerd en dan nog liefst zo vroeg mogelijk. Dit is een concrete invulling van de “shift to the left” beweging waarbij testen zo vroeg mogelijk in het proces worden toegepast. Waar voorheen een geautomatiseerde testset een aantal malen per release werd gedraaid, wordt in een DevOps situatie meerdere malen per dag een testset geautomatiseerd uitgevoerd.
De vraag is dan of en hoe je de waarde van geautomatiseerd testen kunt aantonen. De klassieke vuistregel dat een test 5-7 keer uitvoeren de moeite waard is, is in onze ogen achterhaald. In een DevOps context wordt een geautomatiseerde test misschien wel 5 keer per dag uitgevoerd.
Het aantonen van de waarde van investeringen kun je doen in een business case en dat kan ook een goede manier zijn om anderen te overtuigen van het nut van testautomatisering. Een business case zet kosten en baten tegen elkaar af. Kosten en baten kunnen zowel kwalitatief als kwantitatief worden beschreven.
In deze blog gaan we verder in op mogelijke kwalitatieve baten van een toekomstvaste vorm van testautomatisering. Het alleen kwantitatief te benaderen geeft een scheef beeld. Je speelt financieel wel break even maar het is onduidelijk of het dan voldoende waarde oplevert. Ondersteunt de testautomatisering de gedefinieerde doelstellingen wel echt?
Wanneer is testautomatisering waardevol?
Waar moet je aan denken om vast te stellen of testautomatisering de gedefinieerde doelstellingen ondersteunt? Dat hangt uiteraard af van wat de organisatie wil bereiken. In het algemeen kun je de volgende denklijnen volgen om de detailvragen te formuleren om voor je organisatie de (business) waarde te kunnen vaststellen.
Inzicht en controle in ketens en risico’s
Organisaties werken in toenemende mate samen in ketens en zijn afhankelijk van de input of output vanuit deze ketens. Een verstoring in de keten kan tot verliezen lijden. Door na (major) updates standaard een geautomatiseerde ketentest uit te voeren blijf je aantonen dat de keten functioneert en daardoor de bedrijfsdoelstellingen ondersteunt.
Een ander perspectief is het redeneren vanuit bedrijfsrisico’s. Welke risico’s hebben een grote impact? Waar ligt het management wakker van? Antwoorden op dit soort vragen helpen bij het definiëren van een standaard geautomatiseerde regressietest om aan te tonen dat deze risico’s voldoende aandacht krijgen en afgedekt worden. Door het berekenen van de impact van de risico’s op de organisatie, indien deze optreden, toon je de toegevoegde waarde aan van testautomatisering.
Waar is instabiliteit te verwachten in het proces en welke impact heeft dat op de organisatie of het proces in kwantitatieve of kwalitatieve zin? Is testautomatisering een middel om de stabiliteit te bevorderen? Door het berekenen van de faalschade kun je de waarde vaststellen als je de faalschade kunt voorkomen door frequent testautomatisering uit te voeren.
Meten van waarde via productie-incidenten
De waarde van testautomatisering kan ook vastgesteld worden door het analyseren van productie-incidenten. Dat is wel iets dat je over een langere termijn moet beoordelen. Door het consequent bijhouden van het aantal incidenten kun je de toegevoegde waarde van testautomatisering vaststellen als deze breed is uitgerold in de organisatie. Uiteraard dient het aantal productie-incidenten te dalen.
Efficiëntie, kennisborging en snellere feedback
Testautomatisering kan de testefficiency verhogen. Door de uitrol van testautomatisering en het daardoor overnemen van het routinematige werk kunnen testers zich concentreren op de complexe cases. Dit leidt ook tot minder productie-incidenten, kortere doorlooptijden van de testuitvoer en efficiëntere inzet van de resources. Door het gestructureerd vastleggen van functionaliteiten in geautomatiseerde testscripts wordt de aanwezige kennis ook beter geborgd in de organisatie.
Vanuit het software-ontwikkelproces kun je ook kijken of de juiste testen worden uitgevoerd met de juiste scope, diepgang en reikwijdte. Welke rol kan testautomatisering daarin spelen en hoe kan testautomatisering helpen de waarde van testen te vergroten? De ontwikkelteams krijgen sneller feedback op de geleverde software waardoor issues sneller opgelost kunnen worden.
Een stevigere ontwikkelketen door automatisering
De toepassing van testautomatisering zorgt ervoor dat er mensen beschikbaar komen die kunnen helpen om de voortbrengingsketen verder en efficiënter in te richten. Denk bijvoorbeeld aan het inrichten van een build pipeline en het optimaliseren daarvan. Betrokkenen krijgen dan een grotere uitdaging, er ontstaan meer doorgroeimogelijkheden en beschikbare expertise kan beter worden benut.
Hoe meer vormen van testautomatisering worden toegepast hoe groter de waarde zal zijn. Pas je testautomatisering al toe in de ontwerpfase dan zal dat zijn effect hebben in de verdere schakels in de ontwikkelketen. Hoe eerder een fout is gevonden hoe goedkoper het is om deze te herstellen en de mogelijk negatieve effecten te voorkomen.
Testautomatisering heeft ook een toegevoegde waarde om het kwaliteitsverschil tussen teams in bijvoorbeeld ketens op te vangen. Hoe goed ook het streven om alleen met kwalitatief hoogwaardige teams te werken blijft er altijd een verschil kwaliteit tussen de teams. Niet alleen de kwaliteit maar ook de zorgvuldigheid en betrokkenheid zijn zaken die meespelen. Door continu een geautomatiseerde test uit te voeren krijg je op ieder willekeurig moment inzicht in de kwaliteit van een systeem of een keten en kun je in een vroegtijdig stadium ingrijpen om kwaliteitsissues op te lossen.
De kracht van vroegtijdig en continu testen
Veelal zien we de focus op nieuwbouw van systemen liggen. Correctief onderhoud is noodzakelijk en wordt uiteraard uitgevoerd. Veelal wordt dit onder grote druk gedaan en moeten er keuzes worden gemaakt in wat wel testen en wat niet. Door consequent naast de handmatige testen de beschikbare geautomatiseerde test uit te voeren kan vrij snel inzicht worden verkregen in mogelijke regressie en kunnen productieproblemen worden voorkomen. Daardoor bewijst een geautomatiseerde regressietest zijn waarde.
De beweging om testen steeds eerder in het ontwikkelproces op te pakken en uit te voeren heet de “shift to the left” beweging. Dat betekent dat we bijvoorbeeld al moeten gaan testen voordat er een volwaardige gebruikersinterface beschikbaar is. We testen dan al op een meer technisch niveau. Handmatig is dat bijna niet meer mogelijk en moet wel geautomatiseerd worden uitgevoerd. Van daaruit gezien biedt testautomatisering zijn toegevoegde waarde omdat in een vroegtijdig stadium inzicht gegeven wordt in bijvoorbeeld de kwaliteit van een API.
Doordat we steeds sneller releasen en producten bijna onmiddellijk beschikbaar komen voor het publiek en de klanten kunnen we het ons niet veroorloven om slechte kwaliteit te leveren. Dit ligt dan direct bij het grote publiek en kan tot imagoschade leiden met verlies aan marktaandeel als mogelijk gevolg. Door een geautomatiseerde regressietest continu uit te voeren en deze als harde quality gates te gebruiken in een CI/CD pipeline richt je een extra vangnet in om productieproblemen te voorkomen.
Waarde voor kritieke processen en continuïteit
Een laatste invalshoek kan zijn om te kijken naar welke processen binnen een organisatie altijd moeten blijven functioneren, ongeacht wat er gebeurt. Wat is de schade als deze processen stagneren? Door het inzetten van testautomatisering kun je inzicht krijgen of deze processen ongestoord blijven draaien.
Let’s talk
Klaar om te sparren?
Met een unieke aanpak op basis van co-creatie en onze expertise in Agile, Business Analyse en IT-Testen helpen we organisaties door heel Nederland écht vooruit. Heb jij een uitdaging? We denken graag met je mee!
Over identify
Al ruim vijftien jaar biedt Identify een sterke combinatie van diensten voor het optimaliseren van producten en processen binnen organisaties. Dat doen we niet vóór, maar samen mét onze opdrachtgevers.
Onze business analisten, agile consultants en test consultants zijn meer dan vakexperts. Dankzij expertise-overschrijdende samenwerking en gedeeld eigenaarschap pakken we complexe vraagstukken integraal aan. Zo realiseren we duurzame verbeteringen die organisaties écht vooruithelpen.
Contact
- Koningin Wilhelminalaan 1
- 3818 HN Amersfoort
- Nederland
Over ons
Direct naar
Ik wil up to date blijven
Blijf op de hoogte met onze gratis nieuwsbrief.
De Moderne Tester
Kennis
De Moderne Tester
De kameleon in een wereld vol verandering: vakmanschap en flexibiliteit
Al langere tijd praten we, als test community, over de wijzigende rol van de tester. Van klassiek waterval naar het schaap met de 5 poten die de modernste technieken beheerst, technisch onderlegt is, communicatief vaardig is en op meerdere niveaus kan schakelen.
De gereedschapskist van de tester moet steeds verder gevuld zijn om aan alle eisen te kunnen blijven voldoen. Je ziet ook wel de termen T-shape of M-shape gebruikt worden om aan te geven dat een tester van veel onderwerpen kennis heeft waarvan enkele diepgaand. Het valt hierbij op dat het vooral over kennis gaat.
Wij praten liever over de moderne tester, anno 2020. In onze ogen bevat de moderne tester een aantal kenmerken en wel:
Trots
De Moderne Tester staat voor zijn/haar vakmanschap. Is in het bezit van een gereedschapskist waarmee hij elke testklus kan klaren. Dit loopt van het kennen en kunnen toepassen op het juiste moment van alle soorten testtypen, testtechnieken tot het kunnen schrijven van use cases en het kunnen plannen van alle test activiteiten. De moderne tester is trots op de waarde die hij/zij toevoegt.
Onbevreesd
De Moderne Tester is een kameleon. Is in staat om vakgebieden aan elkaar te koppelen, te schakelen tussen niveaus en is organisatie sensitief. Weet als geen ander hoe het spel werkt van beïnvloeden, overtuigen en omgaan met weerstand. Is in staat mensen te verbinden en samen te werken waardoor het team in staat is topkwaliteit te leveren. Want samen ben je immers sterk. De moderne tester neemt zijn/haar plaats volledig in binnen een scrumteam en levert 24/7 toegevoegde waarde. Is het kwaliteitsgeweten van het team en weet de kwaliteit te sturen. Ongeacht het niveau en de weerstand blijft de tester de kwaliteitsboodschap uitdragen.
Kundig
De Moderne Tester bezit een stevige set aan basis skills voor testautomatisering. Beheerst één type tool goed en weet dit te vertalen naar andere gelijksoortige tools. Kent de concepten hoe testautomatisering goed en toekomst vast kan worden opgezet. Beter een tool goed in de vingers dan van veel tools iets weten. Weet wanneer en hoe deze tooling in te zetten. Hoeft niet perse het op te kunnen bouwen vanaf scratch maar moet zeker in staat zijn om voort te kunnen borduren op de basis die hij samen met een developer op heeft gezet.
Praten we hier over een schaap met 5 poten? Wij denken van niet. Een ding is zeker, de moderne tester is net een kameleon. Afhankelijk van de omgeving past de moderne tester zich aan, in ons geval in techniek, proces en gedrag. En zorgt ervoor altijd toegevoegde waarde te leveren. Op deze wijze is de moderne tester in staat om altijd de juiste zaken in te brengen. Op het juiste moment afgestemd op de omstandigheden.
Dit is ons beeld van de moderne tester. Herken je jezelf hierin en lijkt Identify je een leuke werkgever? Wij zijn doorlopend op zoek naar ervaren testprofessionals. Ontdek onze vacatures op werken-bij Identify.
Over identify
Al ruim vijftien jaar biedt Identify een sterke combinatie van diensten voor het optimaliseren van producten en processen binnen organisaties. Dat doen we niet vóór, maar samen mét onze opdrachtgevers.
Onze business analisten, agile consultants en test consultants zijn meer dan vakexperts. Dankzij expertise-overschrijdende samenwerking en gedeeld eigenaarschap pakken we complexe vraagstukken integraal aan. Zo realiseren we duurzame verbeteringen die organisaties écht vooruithelpen.
Over de auteur
Stefan Brezina
Als enthousiaste test engineer heb ik een passie voor nieuwe testtechnologieën en ben ik voortdurend op zoek naar ontwikkelingen en vaardigheden om me verder te verdiepen.
Lees ook dit artikel eens
Estimation of test automation in an Agile environment
Kennis
Estimation of test automation in an Agile environment
Insight into effort, impact, and investment
One way to ensure the quality of software, is by testing it. Running tests can be done both manually and automatically. Test automation, with its ups and downs, has been the centre of attention for many years. It is usually underestimated what implementing test automation entails and the impact it has on an organization. Especially the estimation of the required effort. Adding test automation within the entire range of testing measures requires extra human capacity, both for the initial set up and the maintenance of the automatized tests apart from test implementation. The question is how much human capacity is needed in order to test automatize the functionality which has to be tested automatically? This article describes several methods to estimate the required effort for test automation and the approach to collect the required data.
Keywords-Estimation; Test Automation; Agile; Testing; Return on Investment and Future proof.
I. Introduction
One way to ensure the quality of software, is by testing it [1]. What we mean by testing software is the following [2]:
“The process consisting of all lifecycle activities, both static and dynamic, concerned with planning, preparation and evaluation of software products and related work products to determine that they satisfy specified requirements, to demonstrate that they fit for purpose and to detect defects.”
Running tests can be done both manually and automatically. Test automation, with its ups and downs, has been the centre of attention for many years. It is usually underestimated what implementing test automation entails and the impact it has on an organization [3] [18]. Because of the rising popularity of Agile [4] [20] and the implementation of continuous deployment and development [22], it seems that test automation is taking on a fixed position. The most important reason for this is that the amount of work is no longer manageable to be done manually [5].
Adding test automation within the entire range of testing measures requires extra human capacity, both for the initial set up and the maintenance of the automatized tests apart from test implementation. The question is how much human capacity is needed in order to test automatize the functionality which has to be tested automatically?
Test budgeting has been a problem since the beginning [6]. Several methods have been developed [7] [8] [9], but they don’t always produce the correct results. Paragraph 2 will expand on this topic. Practice shows that significantly more time is needed than was budgeted at the start of the project.
The question is how to get a grip on this in order to make reliable predictions concerning the necessary capacity. Based on previous methods [7] [8] [9], which are the utilized ways of budgeting within the Agile methodology [10], three ways of thinking have been developed to budget automatized test capacity. These three ways of thinking are described in this article. However, they still have to be tested in practice.
The fundamental principle in this article is a structural, future proof design of test automation within the Agile developed methodology. That means the following: designing test automation in such a way that developed automatized tests cannot only be executed, reused, and easily transferred to others today, but also in the future, and done in such a way that maintenance effort is minimal.
The paper has the following structure. Section II describes the causes of poor test budgets on behalf of test automation. Section III describes the general elements that affect the required test capacity. Sector IV will give insight into budgeting future proof elements on behalf of test automation. Sector V discusses the three ways of budgeting. A detailed example has been included in Section VI. Section VII describes the collection of the data and the approach to classify into the described estimation methods. Return on investment is dealt with in section VIII. Lastly, section IX describes the conclusions and future work.
II. Causes of poor test automation budgeting
As indicated in the introduction, budgeting within ICT is a common problem [6]. Which causes are at the core of this? A couple of reasons can be found.
Using new development and or programming techniques of which there is not enough knowledge. Not questioning the desired functionality enough which causes new problems to arise during the implementation and test phase. Unfamiliarity with the quality of the software in the beginning is another reason. Furthermore, the quality of the persons involved, such as the tester or developer, plays a role. Is someone sufficiently skilled to make a solid budget? [9][8][7].
What we see in practice is that experience numbers are hardly recorded, if recorded at all. This is especially the case for budgeting test automation. A short research in the ISBSG database [11] shows that only three projects have been recorded in which Agile development technique is combined with automatized testing. Of only 1 project out of these three, the delivered test effort has been registered. See table 1.
Table 1: Analysis ISBSG-database for the attention of test projects
| #projects | Way of testing | Agile development methodology | Test effort known | |||
| Manual | Automatized | Y | N | Y | N | |
| 95 | 29 | 66 | 3 | 63 | 1 | 2 |
It becomes clear from this analysis that there is no useful data available to draw conclusions.
In order to try to answer the question: “How is budgeting done in an Agile development environment concerning test automation,” a survey has been conducted in which 100 people participated. The results are recorded in table 2.
Table 2: Results survey way of budgeting test automation
| Way of budgeting | Number |
| Not budgeted | 2 |
| Percentage available time | 1 |
| Pokering of the effort | 3 |
| Experience based | 5 |
| No response | 89 |
| Total | 100 |
As table 2 shows, no reliable results can be extracted from the survey. Despite a reminder, response was very low. Both the results of the survey and the analysis of the ISBSG database, which show comparable results, were a trigger to keep on thinking of ways how to budget test automation reliably and predictably.
A first draft was made during the Valid2016 conference where the first ideas were drafted during the presentation: “Estimation of test automation in an Agile Environment” in which the following question was discussed: “How to estimate the required effort in an Agile environment regarding test automation” [12].
During this presentation three ways of thinking were sketched how test automation can be budgeted in an Agile development environment in order to set up test automation in a structured and future proof manner. This article elaborates on the presentation whereby received input has been included in further working out the ways of thinking. Besides the manner of budgeting, each approach has a number of general elements which influence the eventual budget for test automation. These general elements will be elaborated on first.
III. General elements influencing budgeting of test automation
Apart from the required budget to automatize the test scripts, there are several preconditional elements which influence the required budget for test automation. No matter at which level in the organization (project, division or company level) [21] you wish to implement test automation, you will have to deal with these elements. Dependent on the level at which you would like to implement test automation, the impact on the organization will be bigger. If you focus test automation on company level instead of a project or individual sprint, the involved elements will have a wider impact. The elements can be separated in the so called initial costs and continuity costs. The initial costs are those which you have when setting up and developing test automation for the first time in an organization.
Continuity costs are costs which have to be made after the introduction of test automation in order to maintain and expand (if necessary) test automation. In table 3 the relevant elements are mentioned with an indication how these elements can be measured and a short explanation.
Table 3: Initial and continuity elements test automation
| Component | Element | Unit of measure | Explanation |
Initial costs | People | #people Costs per day | Number of people that are going to work on test automation |
| Test tools | #tools Price per license | Type and number of test tools to purchase aligned with various development platforms | |
| Installation costs | #days Costs per day | Installation of test tools in the ICT- landscape | |
| Test data | #days Costs per day | Choosing a working method: formulate test data requirements, making synthetic test data, scrambling production data to use as test data. Taking privacy into account [14] | |
| Education | # days | Number of required educations/courses | |
| Frequency of usage | #runs | How often is test automation used? | |
| Virtualization | Is virtualization used? | ||
| Number of integrations with surrounding systems | #integrations costs per integration | Which integrations are relevant and how are they mutually dependent? | |
| Support which company objectives | n/a (not applicable) | Which strategic objectives have to be supported? | |
| Continuity | License costs test tools | Price per license | Annual costs on behalf of the test tools |
| Maintenance test scripts | Modification frequency | Percentage time reserved for maintenance of the test scripts | |
| Additional training | #days #days upgrade | Required training for new employees and new versions of test tools | |
| Test tool upgrade | #licenses times updates | Costs linked to purchasing and installing test tool upgrades | |
| Integrations | #integrations costs per integration | Expansion and maintenance of integrations surrounding systems |
IV. Budgeting future proof elements
This information is partly delivered by the overarching test procedure on company level. You can think of frameworks for reusability, tooling, test data generation for repeatability and a wiki for setting up the transferability aspect.
The question is which percentage of the required test capacity for test automation has to be reserved for developing future proof automated test scripts?
The following rules of thumb can be applied as shown in table 4.
Table 4: rules of thumb on determining future proof factor
| Aspect | Priority | Factor |
| Reusability | H (= High) | 1,2 |
| M (= Medium) | 1 | |
| L (= Low) | 0,8 | |
| Repeatability | H (= High) | 1,2 |
| M (= Medium) | 1 | |
| L (= Low) | 0,8 | |
| Transferability | H (= High) | 1,2 |
| M (= Medium) | 1 | |
| L (= Low) | 0,8 |
An example: 100 hours have been calculated for test automation. In order to set up future proof test automation, the following values have been agreed upon (see below). Determining these values is done in accordance with the principal and is linked to a company’s objectives.
| Aspect | Factor |
| Reusability | H |
| Repeatability | M |
| Transferability | M |
The number of hours required to set up this part future proof will be: (100 x 1,2) x1 x 1 = 120 hours.
Another aspect to take into consideration is the scope of test automation. For which test type [2] are the test automation scrips developed? A sprint, an integration test (IT) or a chain test (CT)? The bigger the scope, the more synchronization with all parties becomes necessary. Think of which test data to use, which test scripts, availability of test environments for example and analysis of the results [15] [16].
You can introduce another factor namely the test type with the following parameters:
| Testtype | Factor |
| Sprint | 1 |
| IT | 1,2 |
| CT | 1,5 |
Say you would like to do for example a chain test automation. The necessary effort, based on the table above would be:(120 x 1,5) = 180 hours.
As stated, these are rules of thumb, which will have to be tested and adjusted by collecting data from yet to be executed case studies.
V. Budgeting test automation
In previous paragraphs it has been discussed both which general elements influence the test automation budget and that making test automation future proof also impacts the budget.
So how do you really budget test automation?
The following methods of budgeting will be elaborated on:
- Percentage of the available time;
- Pokering the required effort;
- Pokering the required effort in combination with being 1 sprint behind.
A. Percentage of the available time
This method uses reserving a percentage of the total available test time for test automation as a starting point. A frequently used percentage, distilled from various projects, is 20% of the available test time. Suppose that for 100 hours of testing time 20 hours are used to do test automation. A part of these 20 hours is then used to make the test automation future proof.
By monitoring the actually needed capacity during each sprint, a realistic percentage can be established eventually. The velocity [13] becomes more and more accurate. The question is how reliable such a number is? Does a fixed number allow you to automatize everything that has to be automatized?
The risk is that in for example a sprint, not everything can be tested automatically, since the amount of work requires more time than can be realized in the time that is available. A debt is build up which either has to be removed during a next sprint, or in order to finish the amount of work scaling up is done. One of Agile’s features is a shared team effort. Developers can support in test automation but this will be at the expense of other work which puts pressure on the velocity and leads to not being able to realize all the selected product backlog items.
The way of budgeting, as described here, is a very basic way of budgeting which begs the question of how much functionality can be tested automatically given the framework conditions. The advantage is that you always know how much time is available for test automation.
B. Pokering the required effort
Another way of budgeting is applying poker planning [17] specific for test automation. Perhaps initially this might seem like reserving a percentage of time. Initially. Pokering the effort uses the brain power of the entire team to reach an actual estimation of the required time.
By placing the items which qualify for test automation on the product backlog, insight will be given into the amount of test work which has to be automatized. Pokering items also provides insight into whether the amount of work fits the current sprint. If the necessary effort is large one can decide to develop less functionality so that developers can assist in developing the necessary test automation.
This way of budgeting has some caveats to take into consideration. Is the to be test automatized item on the backlog of sufficient depth to determine the scope properly? The second observation has to do with the stability of the features for which test automaton has to applied. Is the team only capable of automatizing the test on unit level or also all the features itself?
C. Pokering the required effort in combination with being 1 sprint behind
To obtain a larger predictability of the work that has to be done, you can choose to start the test automation in the next sprint using the version of software which was produced in the previous sprint.
This approach has a number of advantages. The software which qualifies for test automation has reached a level of stability which makes it suitable for test automation. Another major benefit is that more detailed information is available with regard to functionality. After all, software has already been produced, which makes it easier to determine which effort is necessary to automatize the tests. Counting the number of functions goes back to the method of budgeting as applied within the TestFrame methodology [15].
This way of budgeting overlooks an important Agile principle namely the fact that working software has to be produced at all times. As a team you cannot guarantee that all software from for example a sprint works, simply because you can no longer test everything manually.
VI. a developed example
To give an idea of the various elements influence on the needed capacity, a fictive example has been developed.
Basic requirements:
| Activity | Required capacity in hours | Calculating factor |
| Testing | 1000 | |
| Way of budgeting: 1 (fixed percentage) | 200 | |
Future proof: Reusable: H Repeatable: H Transferrable: L | 1.2 1,2 0,8 | |
| Scope test automation: chain test | 1,5 | |
Relevant general elements Additional training: License costs | 4 persons 1 day €1000, — per day 4 licenses €1000, — per year | |
| Hourly fee | €75 |
Total amount:
| Activity | Calculation | Amount |
| Required capacity | 200 x 1,2 x 1,2 x 0,8) x 1,5 x €75 | €25.920 |
| Training costs | ((4 x 8) x €75) + 1000 | €3.400 |
| License costs | 4 x €1000 | €4000 |
| Total costs: | €33.320 |
VII. Collection of the data
In the previous chapters a few methods are described to estimate test automation in an Agile context. Till now there is no real evidence which method is the best. A first attempt was made as described in section II. To verify the described estimation method a new survey will be set up tot collect the data based on table 5.
Table 5: collection of the data
| Project | Type of Initial cost | Prio | Continuity costs | SDLC | Estimation method | Estimated hours | Actual hours |
The major problem with the first survey was the timeframe. It was to short to collect data from different customers and projects. The new survey will take place during a period of two years to collect the required data as a base for a proper analysis. At least the data of 100 projects will be collected.
VIII. Return on investment
Initially, test automation costs money. As indicated, various elements have to be put in place before test automation can really be applied. The question is when the required investment will be recouped. Tied to this question is the question: what you will earn exactly? Soon thoughts will go to quantitative aspects. However, when it comes to return on investment (ROI) qualitative aspects also play a part. Table 6 describes a number of aspects that show how you can recoup the investment.
Table 6; aspects relevant for the ROI
| Aspect | Description |
| Shortening test execution time [19] | Manual execution has been replaced by test tools by means of which test automation can be executed in so called off-peak hours. Besides this, a test tool is many times faster than a human being. |
| Prevention of regression | Because of the acceleration in test execution it has become easier to execute all automatized test scripts. Insight into possible regression can be gotten quickly. |
| Impact analysis in case of modifications | By executing automatized test scripts in the first sprint, insight into the suggested modifications can be gotten quickly. This can be especially beneficial in a Devops environment. |
| Time to market | By raising the test execution power, the company can enter the market much faster than its competitors. |
| Independence | By automatizing the functionality, a company becomes less dependent on a few functional experts. This expertise can be used in other parts or parts of which automation is not useful. |
| Reliability in the execution | The execution of the automatized test always happens in the exact same way. This provided insight into the stability of the software. |
| Uniform way of reporting | The test tool generates reports. These describe in detail what happened during the test execution. This makes it easier to track faults and takes less time. |
| Quality to market | The accuracy of tests gives a good insight into the quality and stability of the information system. |
IX. Conclusions and future work
This article describes three ways of thinking on how to budget future proof test automation in an Agile environment. These ways of thinking came into being because the existing methodology did not support a reliable budget sufficiently. They will have to be tried and tested in practice by means of a case study. Data has to be collected in order to eventually develop a balanced way of budgeting. Lastly, the article describes the benefits of applying test automation in an organization.
Acknowledgment
I would like to thank Marcel Mersie and Danny Greehorst for their contribution and giving me some of their precious time. Furthermore, I would like to thank the companies where I could set up test automation and develop the in this article mentioned three ways of thinking.
References
- van Veenendaal, ”The Testing Practitioner, hoofdstuk 1,” UTN, 2002.
- van Veenendaal, M. Posthuma ”Testwoordenboek, blz. 112,” UTN, mei 2010.
- Fewster, “Common mistakes in Test Automation, “ www.cm.techwell.com, 2001.
- Hoogendoorn, “Dit is Agile,” Pearson, 2012.
- Blazemater, “The advantages of Manual vs Automated Testing,” blazemater.com, 2015.
- vd Burgt, I. Pinkster, “Succesvol testmanagement, een integrale aanpak, blz 110-111,” tenHagenStam, 2003.
- Greefhorst, M. Mersie, J. van Rooyen, “Principes van testautomatisering,” Computable, 2015.
- DJ de Groot, “Testgoal,” SDU, 2008.
- vd Laar, “Technieken voor plannen en begroten van test projecten,” Testnet voorjaarsevent, 2009.
- Karlesky, M vd Voord, “Agile projectmanagement,” Embedded systems conference Boston, 2008.
- ISBSG, “ISBSG database,”.
- van Rooyen, “effort estimation test automation in an Agile environment,” Valid2016, 2016.
- improvement-services.nl, “term velocity”.
- European Union, “GDPR, ” 2016.
- Schotanus et al, “Testframe, hoofdstuk 6,7,8,” Academic Service, 2008.
- Siteur, “Automate your testing, sleep while you are working, blz 143-144,” Academic Service, 2005.
- improvement-services.nl, “term pokerplanning”.
- Beck et all, “Agile manifesto,” www.agilemanifesto.org, 2001.
- Bach, “Test Automation Snake Oil,” www.satisfice.com, 1999.
- Huijgens, “Agile werkt,” Academic Service, 2012.
- Guru99, “Automation Testing for Agile methodology,” guru99.com, 2017.
- M. Fowler, “Continuous Integration,” 2006.
Let’s talk
Klaar om te sparren?
Met een unieke aanpak op basis van co-creatie en onze expertise in Agile, Business Analyse en IT-Testen helpen we organisaties door heel Nederland écht vooruit. Heb jij een uitdaging? We denken graag met je mee!
Contact
- Koningin Wilhelminalaan 1
- 3818 HN Amersfoort
- Nederland
Over ons
Direct naar
Ik wil up to date blijven
Blijf op de hoogte met onze gratis nieuwsbrief.















