[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2591062.2591120acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Steering model-based oracles to admit real program behaviors

Published: 31 May 2014 Publication History

Abstract

The oracle—an arbiter of correctness of the system under test (SUT)—is a major component of the testing process. Specifying oracles is particularly challenging for real-time embedded systems, where small changes in time or sensor inputs may cause large differences in behavior. Behavioral models of such systems, often built for analysis and simulation purposes, are naturally appealing for reuse as oracles. However, these models typically provide an idealized view of the system. Even when given the same inputs, the model’s behavior can frequently be at variance with some acceptable behavior of the SUT executing on a real platform. We therefore propose steering the model when used as an oracle, to admit an expanded set of behaviors when judging the SUT’s adherence to its requirements. On detecting a behavioral difference, the model is backtracked and then searched for a new state that satisfies certain constraints and minimizes a dissimilarity metric. The goal is to allow non-deterministic, but bounded, behavior differences while preventing future mismatches, by guiding the oracle—within limits—to match the execution of the SUT. Early experimental results show that steering significantly increases SUT-oracle conformance with minimal masking of real faults and, thus, has significant potential for reducing development costs.

References

[1]
A. Arcuri, M. Z. Iqbal, and L. Briand. Black-box system testing of real-time embedded systems using random and search-based testing. In Proceedings of the 22nd IFIP WG 6.1 international conference on Testing software and systems, pages 95–110. Springer-Verlag, 2010.
[2]
A. En-Nouaary, R. Dssouli, and F. Khendek. Timed wp-method: testing real-time systems. Software Engineering, IEEE Transactions on, 28(11):1023–1038, Nov.
[3]
A. Gomes, A. Mota, A. Sampaio, F. Ferri, and E. Watanabe. Constructive model-based analysis for safety assessment. International Journal on Software Tools for Technology Transfer, 14(6):673–702, 2012.
[4]
G. Hagen. Verifying safety properties of Lustre programs: an SMT-based approach. PhD thesis, University of Iowa, December 2008.
[5]
M. Harman, P. McMinn, M. Shahbaz, and S. Yoo. A comprehensive survey of trends in oracles for software testing. Technical Report CS-13-01, University of Sheffield, Department of Computer Science, 2013.
[6]
M. S. Jaffe, N. G. Leveson, M. P. Heimdahl, and B. E. Melhart. Software requirements analysis for real-time process-control systems. IEEE Transactions on Software Engineering, 17(3):241–258, March 1991.
[7]
K. G. Larsen, M. Mikucionis, and B. Nielsen. Online testing of real-time systems using UPPAAL. In International workshop on formal approaches to testing of software (FATES 04). Springer, 2004.
[8]
D. Lee and M. Yannakakis. Principles and methods of testing finite state machines-a survey. Proceedings of the IEEE, 84(8):1090–1123, 1996.
[9]
D. Miller, J. Guo, E. Kraemer, and Y. Xiong. On-the-fly calculation and verification of consistent steering transactions. In Supercomputing, ACM/IEEE 2001 Conference, pages 8–8, 2001.
[10]
S. P. Miller, A. C. Tribble, M. W. Whalen, and M. P. E. Heimdahl. Proving the shalls: Early validation of requirements through formal methods. Int. J. Softw. Tools Technol. Transf., 8(4):303–319, 2006.
[11]
A. Murugesan, S. Rayadurgam, and M. Heimdahl. Modes, features, and state-based modeling for clarity and flexibility. In Proceedings of the 2013 Workshop on Modeling in Software Engineering, 2013.
[12]
A. Rajan, M. Whalen, M. Staats, and M. Heimdahl. Requirements coverage as an adequacy measure for conformance testing. In Proc. of the 10th Int’l Conf. on Formal Methods and Software Engineering, pages 86–104. Springer, 2008.
[13]
M. Veanes, C. Campbell, W. Grieskamp, W. Schulte, N. Tillmann, and L. Nachmanson. Model-based testing of object-oriented reactive systems with spec explorer. In R. M. Hierons, J. P. Bowen, and M. Harman, editors, Formal Methods and Testing, volume 4949 of Lecture Notes in Computer Science, pages 39–76. Springer, 2008.

Cited By

View all
  • (2017)Automated Steering of Model-Based Test Oracles to Admit Real Program BehaviorsIEEE Transactions on Software Engineering10.1109/TSE.2016.261531143:6(531-555)Online publication date: 1-Jun-2017
  • (2015)Recent Advances in Automatic Black-Box Testing10.1016/bs.adcom.2015.04.002(157-193)Online publication date: 2015
  • (2014)Improving the accuracy of oracle verdicts through automated model steeringProceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering10.1145/2642937.2642989(527-538)Online publication date: 15-Sep-2014

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
ICSE Companion 2014: Companion Proceedings of the 36th International Conference on Software Engineering
May 2014
741 pages
ISBN:9781450327688
DOI:10.1145/2591062
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

In-Cooperation

  • TCSE: IEEE Computer Society's Tech. Council on Software Engin.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 31 May 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Model-Based Testing
  2. Software Testing
  3. Test Oracles

Qualifiers

  • Article

Conference

ICSE '14
Sponsor:

Acceptance Rates

Overall Acceptance Rate 276 of 1,856 submissions, 15%

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 02 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2017)Automated Steering of Model-Based Test Oracles to Admit Real Program BehaviorsIEEE Transactions on Software Engineering10.1109/TSE.2016.261531143:6(531-555)Online publication date: 1-Jun-2017
  • (2015)Recent Advances in Automatic Black-Box Testing10.1016/bs.adcom.2015.04.002(157-193)Online publication date: 2015
  • (2014)Improving the accuracy of oracle verdicts through automated model steeringProceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering10.1145/2642937.2642989(527-538)Online publication date: 15-Sep-2014

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media