Abstract
We consider the problem of automatic construction of complete test set (CTS) from program text. The completeness criterion adopted is C1, i.e., it is necessary to execute all feasible branches of program at least once on the tests of CTS. A simple programming language is introduced with the property that the values used in conditional statements are not arithmetically deformed. For this language the CTS problem is proved to be algorithmically solvable and CTS construction algorithm is obtained. Some generalizations of this language containing counters, stacks or arrays are considered where the CTS problem remains solvable. In conclusion the applications of the obtained results to CTS construction for real time systems are considered.
Preview
Unable to display preview. Download preview PDF.
References
D.S.Alberts. The economics of software quality assurance. In Proc. AFIPS Conf. 1976, pp. 433–442.
A.I. Auzins. On the Construction of complete sample systems. Dokl. Akad. Nauk SSSR, Vol. 288, No. 3, 1984, pp. 564–568 (in Russian).
A.I.Auzins. Decidability of the reachability for the relational push-down automata. Programmirovanie, No. 3, 1984, pp. 3–12 (in Russian).
J.M. Barzdin, J.J. Bicevskis, and A.A. Kalninsh. Construction of complete sample system for program testing. Latv. Gosudarst. Univ. Uch. Zapiski, Vol. 210, 1974, pp. 152–187 (in Russian).
J.M. Barzdin, J.J. Bicevskis, and A.A. Kalninsh. Decidable and undecidable cases of the problem of Construction of the complete sample system. Latv. Gosudarst. Univ. Uch. Zapiski, Vol. 210, 1974, pp. 188–205 (in Russian).
J.M. Barzdin, J.J. Bicevskis, and A.A. Kalninsh. Construction of complete sample system for correctness testing. Lecture Notes in Computer Science, Vol. 32, Springer-Verlag, 1975, pp. 1–12.
J.M. Barzdin and A.A. Kalninsh. Construction of complete sample system for programs using direct access files. Latv. Gosudarst. Univ. Uch. Zapiski, Vol. 233, 1975, pp. 123–154 (in Russian).
J.J.Bicevskis. Automatic construction of sample systems. Programmirovanie, No. 3, 1977, pp. 60–70 (in Russian).
J.M.Barzdin, J.J.Bicevskis, and A.A.Kalninsh. Automatic construction of complete sample systems for program testing. In Proc. IFIP Congress, 1977, North-Holland, 1977, pp. 57–62.
J. Bicevskis, J. Borzovs, U. Straujums, A. Zarins, and E.F. Miller. SMOTL-a system to construct samples for data processing program debugging. IEEE Transactions on Software Engineering, SE-5, No. 1, 1979, pp. 60–66.
E.F.Miller, Jr. Program testing technology in the 1980s. In Tutorial: Software Testing and Validation Techniques, 1978, pp. 399–406.
M.L. Minsky. Finite and infinite machines. Prentice-Hall, Englewood Cliffs, N.Y., 1967.
M.O. Rabin and D. Scott. Finite automata and their decision problems. IBM J. of Research and Development, vol. 3, No. 2, 1959, pp. 114–125.
A.G.Tadevosjan. Decidable cases of the problem of construction of a complete sample system. Kibernetika, No. 6, 1985, pp. 41–44 (in Russian).
K.C. Tai. Program testing complexity and test criteria. IEEE Trans. Software Engineering, SE-6, No. 6, 1980, pp. 531–538.
CCITT Specification and Description Language (SDL), Recomendation Z. 100, 1988.
J.Barzdins, J.Borzovs, A.Kalnins, I.Medvedis. Automatic construction of test sets: practical approach, this volume.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Auziņš, A., Bārzdiņš, J., Bičevskis, J., Čerāns, K., Kalniņš, A. (1991). Automatic construction of test sets: Theoretical approach. In: Bārzdinš, J., Bjørner, D. (eds) Baltic Computer Science. BCS 1991. Lecture Notes in Computer Science, vol 502. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0019362
Download citation
DOI: https://doi.org/10.1007/BFb0019362
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-54131-8
Online ISBN: 978-3-540-47427-2
eBook Packages: Springer Book Archive