Test Case Generation for Arduino Programming Instructions using Functional Block Diagrams

Authors

  • Mani Padmanabhan Faculty of Computer Applications, Vellore Institute of Technology, Vellore, Tamil Nadu, India

DOI:

https://doi.org/10.48048/tis.2022.3472

Keywords:

Software testing, Test case generation, Functional block diagrams, Software validation, Software test path generation

Abstract

Interconnecting different wireless sensor and actuator network in the real-time systems are more demanding for testing. High capability is needed to enable efficient methodologies for testing. The major source of effective testing is the identification of test cases. Programming instruction based test case generation has not well suitable for Arduino real-time systems, that an open statement in the research community. This paper introduces a functional block diagram based test case generation framework to facilitate the functional evaluation of Arduino real-time systems. It makes from the functional block diagram. First, block diagrams are converted to the Event Sequence Graph, then the event node is minimized, the test cases are generated minimized event. The presented methodology has validated with the Arduino programming language. This proposed approach quantified with five sensors based Arduino real-time system experiments shows that based on the validated test cases; the development time and cost of the Arduino real-time systems have dynamically reduced.

HIGHLIGHTS

  • Software testing results ensure the quality of the developed software. Programming instruction based testing has not well suitable for Arduino real-time systems
  • Arduino functional block diagrams are converted to the event node for test case generation. Event Sequence Graph conversion algorithm provide the event direction
  • Validation of Arduino software programming based on Arduino functional block diagrams identify the new fault detection capability


GRAPHICAL ABSTRACT

Downloads

Download data is not yet available.

Metrics

Metrics Loading ...

References

J Chen, L Zhu, TY Chen, D Towey, FC Kuo, R Huang and Y Guo. Test case prioritization for object-oriented software: An adaptive random sequence approach based on clustering. J. Syst. Softw. 2018; 135, 107-25.

H Wang, J Xing, Q Yang, P Wang, X Zhang and D Han. Optimal control based regression test selection for service-oriented workflow applications. J. Syst. Softw. 2017; 124, 274-88.

R Mukherjee and KS Patnaik. A survey on different approaches for software test case prioritization. J. King Saud Univ. Comput. Inf. Sci. 2021; 33, 1041-54.

AP Agrawal and A Kaur. A comprehensive comparison of ant colony and hybrid particle swarm optimization algorithms through test case selection. In: SC Satapathy, V Bhateja, KS Raju and B Janakiramaiah (Eds.). Data engineering and intelligent computing. Springer Singapore, Singapore, 2018, p. 397-405.

S Eghbali and L Tahvildari. Test case prioritization using lexicographical ordering. IIEEE Trans. Softw. Eng. 2016; 42, 1178-95.

R Feldt, S Poulding, D Clark and S Yoo. Test set diameter: Quantifying the diversity of sets of test cases. In: Proceedings of the IEEE International Conference on Software Testing, Verification and Validation, Chicago, Illinois. 2016, p. 223-33.

A Marchetto, MM Islam, W Asghar, A Susi and G Scanniello. A multi-objective technique to prioritize test cases. IIEEE Trans. Softw. Eng. 2016; 42, 918-40.

C Hettiarachchi, H Do and B Choi. Risk-based test case prioritization using a fuzzy expert system. Inf. Softw. Technol. 2016; 69, 1-15.

P Zhang, J Yu and S Ji. ADF-GA: Data flow criterion based test case generation for ethereal smart contracts. In: Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops, Seoul, Republic of Korea. 2020, p. 754-61.

M Padmanabhan. Test path identification for virtual assistants based on a chatbot flow specifications. In: KN Das, JC Bansal, K Deep, AK Nagar, P Pathipooranam and RC Naidu (Eds.). Soft computing for problem solving. Springer, Singapore, 2020, p. 913-25.

M Azizi and H Do. Graphite: A greedy graph-based technique for regression test case prioritization. In: Proceedings of the IEEE International Symposium on Software Reliability Engineering Workshops, Memphis, Tennessee. 2018, p. 245-51.

P Mani and M Prasanna. Test case generation for embedded system software using UML interaction diagram. J. Eng. Sci. Technol. 2017; 12, 860-74.

GH Subramanian, PC Pendharkar and DR Pai. An examination of determinants of software testing and project management effort. J. Comput. Inf. Syst. 2017; 57, 123-9.

P Mani and M Prasanna. Test case generation for real-time system software using specification diagram. Int. J. Intell. Eng. Syst. 2017; 10, 166-75.

P Mani. Test path identification for internet of things using transaction based specification. In: Proceedings of the International Conference on Current Trends towards Converging Technologies, Coimbatore, India. 2018, p. 1-6.

H Wang, J Xing, Q Yang, W Song and X Zhang. Generating effective test cases based on satisfiability modulo theory solvers for service-oriented workflow applications: Effective test cases for service-oriented workflow applications. Softw. Test. Verif. Rel. 2016; 26, 149-69.

A Cavarra, C Crichton and J Davies. A method for the automatic generation of test suites from object models. Inf. Softw. Technol. 2004; 46, 309-14.

SK Ramler, DP Mohapatra and R Mall. Test case generation based on state and activity models. J. Object Technol. 2010; 9, 1-27.

P Samuel, R Mall and P Kanth. Automatic test case generation from UML communication diagrams. Inf. Softw. Technol. 2007; 49, 158-71.

C Wang, F Pastore, A Goknil, L Briand and Z Iqbal. Automatic generation of system test cases from use case specifications. In: Proceedings of the International Symposium on Software Testing and Analysis, Baltimore, Maryland. 2015, p. 385-96.

P Mani and M Prasanna. Validation of automated test cases with specification path. J. Stat. Manag. Syst. 2017; 20, 535-42.

A Memon, Z Gao, B Nguyen, S Dhanda, E Nickell, R Siemborski and J Micco. Taming Google-scale continuous testing. In: Proceedings of the IEEE/ACM 39th International Conference on Software Engineering: Software Engineering in Practice Track, Buenos Aires, Argentina. 2017, p. 233-42.

H Srikanth, M Cashman and MB Cohen. Test case prioritization of build acceptance tests for an enterprise cloud application: An industrial case study. J. Syst. Softw. 2016; 119, 122-35.

Downloads

Published

2022-03-29

How to Cite

Padmanabhan, M. . (2022). Test Case Generation for Arduino Programming Instructions using Functional Block Diagrams. Trends in Sciences, 19(8), 3472. https://doi.org/10.48048/tis.2022.3472