Return to search

Automatisering av test av legacysystem : Utmaningar och faktorer att beakta / : Test automation on legacy systems – challenges and aspects to consider

Information systems are used by most organisations today and are critical to the business. Many organisations got one or more legacy systems which have been used for a long period of time. Failures and disruption in these systems can lead to great consequences and it is important to test the systems to avoid them. Manual testing requires much resources. To automate the tests are a possibility and our partner in this study, Stora Enso Skog, wanted to look into the possibilities.The purpose of this study is to describe what challenges you meet when automating tests for legacy systems. The purpose is also to describe what factors you need to consider when implementing test automation. To do this we have used a case study and gathered data through interviews and study of documents. The interviews have been conducted with experienced experts within the testing area.Our conclusions shows that there are a number of challenges to consider when automating tests for legacy systems. The challenges include problems trying to automate some sort of tests for legacy systems due to the code being unstructured and not prepared for tests. There’s also a risk of spending too much resources in automating the tests instead of improving the systems.A number of factors to consider when implementing automated tests for legacy systems have also been found. Examples given are that automating tests can never fully compensate for a bad architecture and design. Focus should also be on the most important tests and start automating small parts. Also to improve the possibility to test in legacy systems instead of just adopting the testing tool to the system is to be considered.Finally we have noted that there are different types and levels of legacy systems and because of that challenges and factors to consider when automating tests may vary. Many challenges and factors presented in this study also applies to systems not considered legacy. / Informationssystem används idag av de flesta organisationer och är kritiska för att verksamheten skall fungera väl. Många organisationer har ett eller flera så kallade legacysystem som funnits i verksamheten en tid. Fel i systemen kan leda till stora konsekvenser och för att undvika detta är det viktigt att de testas. Att manuellt testa är resurskrävande. Möjligheter finns att automatisera tester i informationssystem vilket vår samarbetspartner Stora Enso Skog velat undersöka.Syftet med detta examensarbete är att beskriva vilka utmaningar som finns vid automatisering av tester för legacysystem. Syftet är vidare att beskriva vilka faktorer som behöver beaktas vid implementering. Arbetet har genomförts som en fallstudie och datainsamling har skett genom intervjuer och dokument. Intervjuer har genomförts med erfarna och kunniga inom testområdet.Slutsatserna är att det finns ett antal utmaningar vid automatisering av test av legacysystem. Exempel på utmaningar är att det kan vara svårt att automatisera vissa typer av test då koden i legacysystem ofta är ostrukturerad och inte förbered för test. Det finns också risk att man lägger för mycket resurser på automatiserade tester istället för att förbättra informationssystemet.Faktorer att beakta vid implementering är bland annat att automatisering av test aldrig kan kompensera för en dålig arkitektur och design. Man bör också fokusera på det viktigaste delarna och börja i mindre omfattning. Att utveckla testbarheten i legacysystem istället för att bara anpassa testverktyg efter systemet är en annan faktor.Vi har slutligen konstaterat att det finns olika typer eller nivåer av legacysystem och beroende på det kan utmaningar och faktorer vid automatisering av test variera. Många av de utmaningar och faktorer som presenteras i examensarbetet gäller även system som inte klassas som legacysystem.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:du-27961
Date January 2018
CreatorsNilsson, Martin, Norberg, Patrik
PublisherHögskolan Dalarna, Informatik, Högskolan Dalarna, Informatik
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0069 seconds