Testing Polymorphic Properties
Författare:
Jean-Philippe Bernardy (Institutionen för data- och informationsteknik, Programvaruteknik); Patrik Jansson (Institutionen för data- och informationsteknik, Programvaruteknik); Koen Claessen (Institutionen för data- och informationsteknik, Programvaruteknik)
Publicerad i:
ESOP 2010: 19th European Symposium on Programming,
Publikationstyp:
Konferensbidrag, refereegranskat
Publiceringsår:
2010
Språk:
engelska
Fulltextlänk:
Sammanfattning (abstract):
This paper is concerned with testing properties of polymorphic functions. The problem is that testing can only be performed on specific monomorphic instances, whereas parametrically polymorphic functions are expected to work for any type. We present a schema for constructing a monomorphic instance for a polymorphic property, such that correctness of that single instance implies correctness for all other instances. We also give a formal definition of the class of polymorphic properties the schema can be used for. Compared to the standard method of testing such properties, our schema leads to a significant reduction of necessary test cases.
Länk till sammanfattning (abstract):
Ämneskategorier:
TEKNIKVETENSKAP ->
Informationsteknik ->
Datavetenskap ->
Datalogi
TEKNIKVETENSKAP ->
Informationsteknik ->
Datavetenskap ->
Programvaruteknik
Informationsteknik ->
Datavetenskap ->
Datalogi
TEKNIKVETENSKAP ->
Informationsteknik ->
Datavetenskap ->
Programvaruteknik
Postens nummer:
99387
Posten skapad:
2009-10-01 16:46
Posten ändrad:
2009-12-15 16:35