https://www.mdu.se/

mdh.sePublikasjoner
Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Automated Model Generation using Graphwalker Based On Given-When-Then Specifications
Mälardalens högskola, Akademin för innovation, design och teknik.
2020 (engelsk)Independent thesis Basic level (degree of Bachelor), 10 poäng / 15 hpOppgave
Abstract [en]

Software testing is often a laborious and costly process, as testers need extensive domain-specific knowledge and engineering experience to manually create test cases for diverse test scenarios. These scenarios in many industrial projects are represented in requirement specification documents. Since the creation of test cases from these requirements is manual and is error-prone, researchers have proposed methods to automate the creation of tests and execution of tests. One of the most popular approaches is called model-based testing. Model-based testing uses models to manually or automatically create tests based on existing models. Since most of the effort in model-based testing lies in the creation of the model, this thesis aims at improving a model-based testing tool. This improvement is for generating a model from Natural language as this is what requirements usually are written in. Given-When-Then is a test-case writing template used to specify a system's behavior. To implement the natural language processing into a model-based testing tool, an extension for Graphwalker was created. Graphwalker is a popular open-source model-based testing tool, which can create, edit, and test the models created. The extension is using requirements as input written in natural languages and then creates a model based on the requirements provided. Graphwalker's models are based on finite state machines that have elements such as vertices and edges. The model also can change its state, change values of variables, and block access to certain elements. Graphwalker can however not generate models from natural language requirements. This thesis shows how one can transform natural language requirements into models.

The extension is implemented to use requirements through both manual input and via a JSON file and it is processing the text and tags each word. These tags will then be used to interpret the sentence meaning and will either create a transition, change a value, or block access to a selected element. The results of this thesis show that this extension is an applicable method to automatically generate models for the GraphWalker tool. This extension can be used and improved by both researchers and practitioners.

sted, utgiver, år, opplag, sider
2020. , s. 28
HSV kategori
Identifikatorer
URN: urn:nbn:se:mdh:diva-49294OAI: oai:DiVA.org:mdh-49294DiVA, id: diva2:1451401
Fag / kurs
Computer Science
Presentation
2020-06-05, 11:00 (engelsk)
Veileder
Examiner
Tilgjengelig fra: 2020-07-03 Laget: 2020-07-02 Sist oppdatert: 2020-07-03bibliografisk kontrollert

Open Access i DiVA

fulltext(942 kB)921 nedlastinger
Filinformasjon
Fil FULLTEXT01.pdfFilstørrelse 942 kBChecksum SHA-512
3309d0244180eea76669e33790007ea2384202046b7ff7107449e42c3f3110b7bd9b6476b97263cf866f2f81c57edcb77ce6546d2c898aac90fbce72e03653cf
Type fulltextMimetype application/pdf

Søk i DiVA

Av forfatter/redaktør
Korhonen, Joakim
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 921 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

urn-nbn

Altmetric

urn-nbn
Totalt: 615 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf