Property-Based Testing for Asynchronous Functional Reactive Programming Using Linear Temporal Logic
- Christian Emil Nielsen,
- Mathias Faber Kristiansen,
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Peer-reviewOpen Access
Resume
Functional reactive programming (FRP) is a programming paradigm for implementing software that continuously interacts with its environment and manipulates highly dynamic data. Asynchronous FRP, in particular, is very expressive and can be used to implement graphical user interfaces and other reactive systems interacting with data streams and events that are not synchronized. Testing such asynchronous FRP programs is difficult since a program's behaviour depends not only on the concrete data it receives from its environment but also the relative timing of when each piece of data arrives.
In this paper, we propose PropRatt, a property-based testing framework for asynchronous FRP. The key component of PropRatt is its specification language, which extends basic linear temporal logic with a means to express properties of several concurrent signals. This allows us to express temporal properties that relate data coming from different signals at different points in time. PropRatt is implemented in Haskell and targets a recently introduced asynchronous FRP language embedded in Haskell. We demonstrate the utility of PropRatt through a case study testing a signal combinator library as well as a graphical user interface, in which we suggest how the strategy for generating signals can be modified to better model specific domains.
In this paper, we propose PropRatt, a property-based testing framework for asynchronous FRP. The key component of PropRatt is its specification language, which extends basic linear temporal logic with a means to express properties of several concurrent signals. This allows us to express temporal properties that relate data coming from different signals at different points in time. PropRatt is implemented in Haskell and targets a recently introduced asynchronous FRP language embedded in Haskell. We demonstrate the utility of PropRatt through a case study testing a signal combinator library as well as a graphical user interface, in which we suggest how the strategy for generating signals can be modified to better model specific domains.
Publikation information
Produktionstype
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Peer-reviewOriginalsprog
EngelskSider fra-til (Antal sider)
Sider 39-56 (18 sider)Publikationsmilepæle
- Udgivet - 12/01/2026
Publikationsstatus
Udgivet - 12/01/2026
Forlag
Springer, USA, TysklandBogserie
- Bogserienavn: Lecture Notes in Computer Science
Bind: 16401
ISSN: 0302-9743
ISBN (Trykt)
978-3-032-15980-9ISBN (Elektronisk)
978-3-032-15981-6Publication IDs
- Scopus: 105028354392
Titel på værtspublikation
Practical Aspects of Declarative Languages Adgang til dokumenter
Relateret event
Titel
Practical Aspects of Declarative Languages
Begivenhedstype
KonferenceGrad af anerkendelse
International begivenhedDato
12/01/2026 - 13/01/2026Lokation
Couvent des JacobinsRennesFrankrig
