Result: Next.js-sovelluksen automaatiotestauksen suunnittelu ja implementointi

Title:
Next.js-sovelluksen automaatiotestauksen suunnittelu ja implementointi
Authors:
Publication Year:
2024
Collection:
Theseus.fi (Open Repository of the Universities of Applied Sciences / Ammattikorkeakoulujen julkaisuarkisto)
Document Type:
Dissertation/ Thesis bachelor thesis
Language:
Finnish
Relation:
Turun ammattikorkeakoulu Oy/theFIRMA; https://www.theseus.fi/handle/10024/864441
Rights:
CC BY 4.0
Accession Number:
edsbas.2491C67D
Database:
BASE

Further Information

Automaattiset testit ovat ohjelmia, jotka automatisoivat sovelluksen testauksen. Ne suorittavat testattavan sovelluksen toimintoja ja vertaavat saatuja tuloksia odotettuihin, ennalta määriteltyihin tuloksiin. Opinnäytetyön tavoitteena oli vertailla sopivia automaatiotestaustyökaluja toimeksiantajan kehitysvaiheessa olevaan Next.js-sovellukseen, suunnitella tarvittavat testit sovelluksen vaatimiin käyttötapauksiin, sekä implementoida suunnitellut testit sovellukseen. Tuloksena luotiin sovellukselle testaussuunnitelma, valittiin sopivat automaatiotestaustyökalut sekä toteutettiin suunnitellut testit niiltä osin kuin sovelluksen toiminnot olivat valmiina testattavaksi. Lisäksi tehtiin aloittelijaystävällinen dokumentaatio implementoidusta testausympäristöstä, ohjeet testien ajamiselle, sekä lista tarvittavista jatkotoimenpiteistä sovelluksen tuleville ylläpitäjille. ; Automated tests are programs that automate the testing of an application. They execute the functions of the application under test and compare the results with the expected, predetermined results. The objective of the thesis was to compare suitable automation testing tools for the thesis client’s Next.js application under development, design the necessary tests for the use cases required by the application, and implement the designed tests in the application. As a result, a test plan was created for the application, suitable automation testing tools were selected, and the planned tests were implemented as far as application functions were ready to be tested. Additional outputs of this thesis include the compilation of a beginner-friendly documentation of the implemented testing environment, instructions for running the tests, and a list of necessary follow-up actions for future application maintainers.