Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Testing real-time systems using genetic algorithms

Published: 01 October 1997 Publication History

Abstract

The development of real-time systems is an essential industrial activity whose importance is increasing. The most important analytical method to assure the quality of real-time systems is dynamic testing. Testing is the only method which examines the actual run-time behaviour of real-time software, based on an execution in the real application environment. Dynamic aspects like the duration of computations, the memory actually needed, or the synchronization of parallel processes are of major importance for the correct function of real-time systems and have to be tested. A comprehensive investigation of existing software test methods shows that they mostly concentrate on testing for functional correctness. They are not suited for an examination of temporal correctness which is essential to real-time systems. Very small systems show a wide range of different execution times. Therefore, existing test procedures must be supplemented by new methods, which concentrate on determining whether the system violates its specified timing constraints. In general, this means that outputs are produced too early or their computation takes too long. The task of the tester is to find the inputs with the longest or shortest execution times to check whether they produce a temporal error. If the search for such inputs is interpreted as a problem of optimization, genetic algorithms can be used to find the inputs with the longest or shortest execution times automatically. The fitness function is the execution time measured in processor cycles. Experiments using genetic algorithms on a number of programs with up to 1511 LOC and 843 integer input parameters have successfully identified new longer and shorter paths than had been found using random testing or systematic testing. Genetic algorithms are able therefore to check large programs and they show considerable promise in establishing the validity of the temporal behaviour of real-time software.

References

[1]
1. W.S. Heath. Real-time Software Techniques (Van Nostrand Rheinhold, 1991).
[2]
2. K.A. Fisher. The application of genetic algorithms to optimising the design of an engine block for low noise, First International Conference on Genetic Algorithms in Engineering Systems: Innovations and Applications (GALESIA), Sheffield (1995), pp. 18-22 (IEE/IEEE).
[3]
3. D.E. Goldberg. Genetic Algorithms in Search, Optimization and Machine Learning (Addison-Wesley, 1989).
[4]
4. B.F. Jones, H.-H. Sthamer and D.E. Eyres. Automatic structural testing using genetic algorithms, Software Engineering Journal, 11(5) (1996) 299-306.
[5]
5. S. Xanthakis, C. Ellis, C. Skourlas, A. Le Gall and S. Katsikas. Application of genetic algorithms to software testing, Fifth International Conference on Software Engineering, Toulouse (1992).
[6]
6. A.E.L. Watkins. A tool for the automatic generation of test data using genetic algorithms, in Proceedings of Software Quality Conference, Dundee (1995).
[7]
7. B.F. Jones, H.-H. Sthamer, X. Yang and D.E. Eyres. The automatic generation of software test data sets using adaptive search techniques, Third International Conference on Software Quality Management, Seville (1995), pp. 435-444 (BCS/CMP).
[8]
8. M. Grochtmann and K. Grimm. Classification-trees for partition testing, Journal of Software Testing, Verification and Reliability, 3(2) (1993), 63-82.

Cited By

View all
  • (2024)Exploration-Driven Reinforcement Learning for Avionic System Fault Detection (Experience Paper)Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis10.1145/3650212.3680331(920-931)Online publication date: 11-Sep-2024
  • (2023)Probabilistic Safe WCET Estimation for Weakly Hard Real-time Systems at Design StagesACM Transactions on Software Engineering and Methodology10.1145/361717633:2(1-34)Online publication date: 26-Aug-2023
  • (2022)Optimal priority assignment for real-time systems: a coevolution-based approachEmpirical Software Engineering10.1007/s10664-022-10170-127:6Online publication date: 6-Aug-2022
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Software Quality Journal
Software Quality Journal  Volume 6, Issue 2
1997
107 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 01 October 1997

Author Tags

  1. Keywords: testing
  2. embedded systems
  3. genetic algorithms
  4. real-time systems
  5. temporal behaviour

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 28 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Exploration-Driven Reinforcement Learning for Avionic System Fault Detection (Experience Paper)Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis10.1145/3650212.3680331(920-931)Online publication date: 11-Sep-2024
  • (2023)Probabilistic Safe WCET Estimation for Weakly Hard Real-time Systems at Design StagesACM Transactions on Software Engineering and Methodology10.1145/361717633:2(1-34)Online publication date: 26-Aug-2023
  • (2022)Optimal priority assignment for real-time systems: a coevolution-based approachEmpirical Software Engineering10.1007/s10664-022-10170-127:6Online publication date: 6-Aug-2022
  • (2020)Establishing Confidence and Understanding Uncertainty in Real-Time SystemsProceedings of the 28th International Conference on Real-Time Networks and Systems10.1145/3394810.3394816(67-77)Online publication date: 9-Jun-2020
  • (2020)Flexible Probabilistic Modeling for Search Based Test Data GenerationProceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops10.1145/3387940.3392215(537-540)Online publication date: 27-Jun-2020
  • (2019)Footprints of fitness functions in search-based software testingProceedings of the Genetic and Evolutionary Computation Conference10.1145/3321707.3321880(1399-1407)Online publication date: 13-Jul-2019
  • (2018)TACOProceedings of the 26th International Conference on Real-Time Networks and Systems10.1145/3273905.3273910(114-124)Online publication date: 10-Oct-2018
  • (2017)A prediction model for measurement-based timing analysisProceedings of the 6th International Conference on Software and Computer Applications10.1145/3056662.3056666(9-14)Online publication date: 26-Feb-2017
  • (2017)A systematic review on search based mutation testingInformation and Software Technology10.1016/j.infsof.2016.01.01781:C(19-35)Online publication date: 1-Jan-2017
  • (2015)Automating performance bottleneck detection using search-based application profilingProceedings of the 2015 International Symposium on Software Testing and Analysis10.1145/2771783.2771816(270-281)Online publication date: 13-Jul-2015
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media