Skip to main content

A Stochastic Theory of Black-Box Software Testing

  • Chapter
Algebra, Meaning, and Computation

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4060))

Abstract

We introduce a mathematical framework for black-box software testing of functional correctness, based on concepts from stochastic process theory. This framework supports the analysis of two important aspects of testing, namely: (i) coverage, probabilistic correctness and reliability modelling, and (ii) test case generation. Our model corrects some technical flaws found in previous models of probabilistic correctness found in the literature. It also provides insight into the design of new testing strategies, which can be more efficient than random testing.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. de Bakker, J.W.: Mathematical Theory of Program Correctness. Prentice-Hall, Englewood Cliffs (1980)

    MATH  Google Scholar 

  2. Barwise, J. (ed.): The Syntax and Semantics of Infinitary Languages. Lecture Notes in Mathematics, vol. 72. Springer, Heidelberg (1968)

    MATH  Google Scholar 

  3. Bauer, H.: Probability Theory and Elements of Measure Theory. Academic Press, London (1981)

    MATH  Google Scholar 

  4. Beizer, B.: Black-Box Testing. John Wiley, Chichester (1995)

    Google Scholar 

  5. Bouleau, N., Lepingle, D.: Numerical Methods for Stochastic Processes. John Wiley, New York (1994)

    MATH  Google Scholar 

  6. Budd, T.A., DeMillo, R.A., Lipton, R.J., Sayward, F.G.: Theoretical and Empirical Studies on Using Program Mutation to Test the Functional Correctness of Programs. In: 7th ACM SIGPLAN-SIGACT Symp. on Principles of Programming Languages, pp. 220–223 (1980)

    Google Scholar 

  7. Graham, R.L., Knuth, D.E., Patashnik, O.: Concrete Mathematics. Addison-Wesley, Reading (1989)

    MATH  Google Scholar 

  8. Grimmet, G., Stirzaker, D.: Probability and Random Processes. Oxford University Press, Oxford (1982)

    Google Scholar 

  9. Hamlet, R.G.: Probable Correctness Theory. Inf. Proc. Letters 25, 17–25 (1987)

    Article  MathSciNet  Google Scholar 

  10. Kallenberg, O.: Foundations of Modern Probability. Springer, Heidelberg (1997)

    MATH  Google Scholar 

  11. Lee, D., Yannakakis, M.: Principles and Methods of Testing Finite State Machines - a Survey. Proc. IEEE 84(8), 1090–1123 (1996)

    Article  Google Scholar 

  12. Loeckx, J., Ehrich, H.-D., Wolf, M.: Specification of Abstract Data Types. Wiley/Teubner (1996)

    Google Scholar 

  13. Meinke, K.: Automated Black-Box Testing of Functional Correctness using Function Approximation. In: Rothermel, G. (ed.) Proc. ACM SIGSOFT Int. Symp. on Software Testing and Analysis. Software Engineering Notes, vol. 29(4), pp. 143–153. ACM Press, New York (2004)

    Chapter  Google Scholar 

  14. Miller, K.W., Morell, L.J., Noonan, R.E., Park, S.K., Nicol, D.M., Murrill, B.W., Voas, J.M.: Estimating the Probability of Failure when Testing Reveals no Failures. IEEE Trans. Soft. Eng. 18(1), 33–43 (1992)

    Article  Google Scholar 

  15. Moore, E.F.: Gedanken-experiments on Sequential Machines. Ann. Math. Studies, vol. 34, pp. 129–153. Princeton Univ. Press, Princeton (1956)

    Google Scholar 

  16. Thayer, T.A., Lipow, M., Nelson, E.C.: Software Reliability. North Holland, New York (1978)

    Google Scholar 

  17. Weiss, S.N., Weyuker, E.J.: An Extended Domain-Based Model of Software Reliability. IEEE Trans. Soft. Eng. 14(10), 1512–1524 (1988)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Meinke, K. (2006). A Stochastic Theory of Black-Box Software Testing. In: Futatsugi, K., Jouannaud, JP., Meseguer, J. (eds) Algebra, Meaning, and Computation. Lecture Notes in Computer Science, vol 4060. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11780274_30

Download citation

  • DOI: https://doi.org/10.1007/11780274_30

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-35462-8

  • Online ISBN: 978-3-540-35464-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics