1. |
- Castañeda Lozano, Roberto, et al.
(författare)
-
Testing Continuous Double Auctions with a Constraint-Based Oracle
- 2010
-
Ingår i: PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING-CP 2010. - Berlin, Heidelberg : Springer Berlin Heidelberg. - 9783642153952 ; , s. 613-627
-
Konferensbidrag (refereegranskat)abstract
- Computer trading systems are essential for today's financial markets where the trading systems' correctness is of paramount economical significance. Automated random testing is a useful technique to find bugs in these systems, but it requires an independent system to decide the correctness of the system under test (known as oracle problem). This paper introduces a constraint-based oracle for random testing of a real-world trading system. The oracle provides the expected results by generating and solving constraint models of the trading system's continuous double auction. Constraint programming is essential for the correctness of the test oracle as the logic for calculating trades can be mapped directly to constraint models. The paper shows that the generated constraint models can be solved efficiently. Most importantly, the approach is shown to be successful by finding errors in a deployed financial trading system and in its specification.
|
|