SwePub
Sök i LIBRIS databas

  Utökad sökning

id:"swepub:oai:DiVA.org:bth-14899"
 

Sökning: id:"swepub:oai:DiVA.org:bth-14899" > Automated Random Te...

Automated Random Testing in Multiple Dispatch Languages

Poulding, Simon (författare)
Blekinge Tekniska Högskola,Institutionen för programvaruteknik
Feldt, Robert (författare)
Blekinge Tekniska Högskola,Institutionen för programvaruteknik
 (creator_code:org_t)
IEEE Computer Society, 2017
2017
Engelska.
Ingår i: Proceedings - 10th IEEE International Conference on Software Testing, Verification and Validation, ICST 2017. - : IEEE Computer Society. - 9781509060313 ; , s. 333-344
  • Konferensbidrag (refereegranskat)
Abstract Ämnesord
Stäng  
  • In programming languages that use multiple dispatch, a single function can have multiple implementations, each of which may specialise the function's operation. Which one of these implementations to execute is determined by the data types of all the arguments to the function. Effective testing of functions that use multiple dispatch therefore requires diverse test inputs in terms of the data types of the input's arguments as well as their values. In this paper we describe an approach for generating test inputs where both the values and types are chosen probabilistically. The approach uses reflection to automatically determine how to create inputs with the desired types, and dynamically updates the probability distribution from which types are sampled in order to improve both the test efficiency and efficacy. We evaluate the technique on 247 methods across 9 built-in functions of Julia, a technical computing language that applies multiple dispatch at runtime. In the process, we identify three real faults in these widely-used functions. © 2017 IEEE.

Ämnesord

NATURVETENSKAP  -- Data- och informationsvetenskap -- Programvaruteknik (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Software Engineering (hsv//eng)

Nyckelord

Probability distributions
Verification
Built-in functions
Data type
Effective testing
Random testing
Runtimes
Technical computing
Test efficiency
Test inputs
Software testing

Publikations- och innehållstyp

ref (ämneskategori)
kon (ämneskategori)

Hitta via bibliotek

Till lärosätets databas

Hitta mer i SwePub

Av författaren/redakt...
Poulding, Simon
Feldt, Robert
Om ämnet
NATURVETENSKAP
NATURVETENSKAP
och Data och informa ...
och Programvarutekni ...
Artiklar i publikationen
Proceedings - 10 ...
Av lärosätet
Blekinge Tekniska Högskola

Sök utanför SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Stäng

Kopiera och spara länken för att återkomma till aktuell vy