Hyppää sisältöön
    • Suomeksi
    • På svenska
    • In English
  • Suomi
  • Svenska
  • English
  • Kirjaudu
Hakuohjeet
JavaScript is disabled for your browser. Some features of this site may not work without it.
Näytä viite 
  •   Ammattikorkeakoulut
  • Hämeen ammattikorkeakoulu
  • Opinnäytetyöt
  • Näytä viite
  •   Ammattikorkeakoulut
  • Hämeen ammattikorkeakoulu
  • Opinnäytetyöt
  • Näytä viite

Automated Testing in a CI/CD pipeline: node.js and react software project

Santala, Ville (2022)

 
Avaa tiedosto
Santala_Ville.pdf (2.706Mt)
Lataukset: 


Santala, Ville
2022
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Näytä kaikki kuvailutiedot
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022120827288
Tiivistelmä
Opinnäytetyön tarkoitus oli selvittää, miten voidaan ottaa käyttöön testiautomaatio asiakasyrityksen CI/CD järjestelmässä, ja tämän lisäksi opinnäytetyössä luodaan automaatio testejä, joita käytetään kyseissä järjestelmässä. Opinnäytetyön asiakasyritys oli Talenom Oy. Koska asiakasyrityksellä oli jo käytössä tiettyjä järjestelmiä testiautomaatioon ja CI/CD kohdalla, tämä opinnäytetyö ei tutkinut eri järjestelmä vaihtoehtoja. Tämä opinnäytetyö keskittyi tutkimaan jo näitä käytössä olevia järjestelmiä.

Opinnäytetyö on toiminnallinen työ, jossa on vahva teoreettinen pohja. Opinnäytetyön tietopohja koostuu aiheista, jotka tukevat opinnäytetyön käytännön osuutta. Tietopohjan ensimmäinen osuus koostuu ohjelmistotestauksen teoriasta ja syventyy automaatiotestaukseen, testisuunnitelmiin ja testauksen eri tasoihin. Tämä osuus sisältää myös tietoa testiautomaatiossa käytetyistä työkaluista. Tietopohjan toinen osuus koostuu DevOps toimintamallin teoriasta ja erilaisista työkaluista liittyen projektinhallintaan.

Kehitys ja tutkimustyön perusteella voidaan todeta, että testiautomaation kehittäminen on mahdollista hyvin kattavasti, mutta yleisellä tasolla testiautomaatio on parasta kehittää valikoivasti. Täysin kattavan testiautomaation kehittäminen ja ylläpitäminen on erittäin aikaa vievää. Opinnäytetyön käytännön osuus demonstroi CI/CD-järjestelmän käyttöönoton ja sen mahdollisuudet. Kolmas tutkimuskysymys liittyen DevOps-metriikkaan oli lähestulkoon mahdoton vastata koska projekti, johon tämä opinnäytetyö perustui ei edennyt tilaan, jossa analyysi olisi ollut mahdollista.
 
The purpose of the thesis was to investigate setting up the client company’s testing pipeline and automating of tests for their new project. The thesis was commissioned by Talenom Oy. As the company’s other teams were already using certain specific solutions for their CI/CD pipelines, the thesis did not spend time on the process of finding and comparing different solutions and instead focused on researching these specific solutions.

The thesis is a practical thesis with a strong theoretical base. In the theoretical framework of the thesis the core concepts used in the practical section are explained. The first part of the theory section goes through software testing theory and looks in more detail at automated testing, test case design and different test levels. There is also a section on the relevant tools used for the thesis project. The second part of the theory section goes into DevOps and different tools that are used in the thesis project.

Based on the work and research done during the thesis it can be concluded that broadly it is possible to do end-to-end testing for the project, but that generally end-to-end testing should be done selectively since extensive automated tests are require a lot of time to create and their maintenance is also time consuming. The practical section of the thesis demonstrates the setup of the pipeline and shows how it is possible to do. The third research question relating to DORA metrics proved impossible to answer within the timeline of this thesis as the project was not in state where an analysis could be made.
 
Kokoelmat
  • Opinnäytetyöt
Ammattikorkeakoulujen opinnäytetyöt ja julkaisut
Yhteydenotto | Tietoa käyttöoikeuksista | Tietosuojailmoitus | Saavutettavuusseloste
 

Selaa kokoelmaa

NimekkeetTekijätJulkaisuajatKoulutusalatAsiasanatUusimmatKokoelmat

Henkilökunnalle

Ammattikorkeakoulujen opinnäytetyöt ja julkaisut
Yhteydenotto | Tietoa käyttöoikeuksista | Tietosuojailmoitus | Saavutettavuusseloste