TY - GEN A1 - Heinz, Stefan A1 - Sachenbacher, Martin T1 - Using Model Counting to Find Optimal Distinguishing Tests N2 - Testing is the process of stimulating a system with inputs in order to reveal hidden parts of the system state. In the case of non-deterministic systems, the difficulty arises that an input pattern can generate several possible outcomes. Some of these outcomes allow to distinguish between different hypotheses about the system state, while others do~not. In this paper, we present a novel approach to find, for non-deterministic systems modeled as constraints over variables, tests that allow to distinguish among the hypotheses as good as possible. The idea is to assess the quality of a test by determining the ratio of distinguishing (good) and not distinguishing (bad) outcomes. This measure refines previous notions proposed in the literature on model-based testing and can be computed using model counting techniques. We propose and analyze a greedy-type algorithm to solve this test optimization problem, using existing model counters as a building block. We give preliminary experimental results of our method, and discuss possible improvements. T3 - ZIB-Report - 08-32 KW - zählen KW - automatische Test Generierung KW - counting KW - automated test generation KW - constraint programming Y1 - 2008 UR - https://opus4.kobv.de/opus4-zib/frontdoor/index/index/docId/1083 UR - https://nbn-resolving.org/urn:nbn:de:0297-zib-10832 SN - 1438-0064 ER -