Automation component aspects for efficient unit testing

Automation systems software must provide sufficient diagnosis information for testing to enable early defect detection and quality measurement. However, in many automation systems the aspects of automation, testing, and diagnosis are intertwined in the code. This makes the code harder to read, modify, and test. In this paper we introduce the design of a test-driven automation (TDA) component with separate aspects for automation, diagnosis, and testing to improve testability and test efficiency. We illustrate with a prototype, how automation component aspects allow flexible configuration of a “system under test” for test automation. Major result of the pilot application is that the TDA concept was found usable and useful to improve testing efficiency.

[1]  Ajitha Rajan,et al.  Coverage metrics for requirements-based testing , 2006, ISSTA '06.

[2]  Jan Friedrich,et al.  Das V-Modell XT , 2009 .

[3]  Alois Zoitl,et al.  Real-Time Execution for IEC 61499 , 2008 .

[4]  Andraž Cej,et al.  Agile software development with Scrum , 2010 .

[5]  Alois Zoitl,et al.  Functional structure-based modelling of automation systems , 2006, Int. J. Manuf. Res..

[6]  Robert Lewis Modelling Control Systems Using Iec 61499: Applying Function Blocks to Distributed Systems , 2001 .

[7]  Youxian Sun,et al.  Towards component-based control system engineering with IEC61499 , 2004, Fifth World Congress on Intelligent Control and Automation (IEEE Cat. No.04EX788).

[8]  Stefan Biffl,et al.  Software process improvement in Europe: potential of the new V-modell XT and research issues , 2006, Softw. Process. Improv. Pract..

[9]  Reinhard Hhn,et al.  Das V-Modell XT: Grundlagen, Methodik und Anwendungen (eXamen.press) , 2008 .

[10]  Wolfgang A. Halang,et al.  Specification and Verification of Applications Based on Function Blocks , 2005, Component-Based Software Development for Embedded Systems.

[11]  Paul Hamill Unit Test Frameworks , 2004 .

[12]  Hamid A. Toliyat,et al.  Condition monitoring and fault diagnosis of electrical machines-a review , 1999, Conference Record of the 1999 IEEE Industry Applications Conference. Thirty-Forth IAS Annual Meeting (Cat. No.99CH36370).

[13]  William Bereza,et al.  Mocking the Embedded World: Test-Driven Development, Continuous Integration, and Design Patterns , 2007 .

[14]  Stefan Biffl,et al.  Test-Driven Automation: Adopting Test-First Development to Improve Automation Systems Engineering Processes , 2009 .

[15]  Andrew Glover,et al.  Continuous Integration: Improving Software Quality and Reducing Risk (The Addison-Wesley Signature Series) , 2007 .

[16]  Lars Lundberg,et al.  Quality Impact of Introducing Component-Level Test Automation and Test-Driven Development , 2007, EuroSPI.

[17]  C. Sunder,et al.  Downtimeless System Evolution: Current State and Future Trends , 2007, 2007 5th IEEE International Conference on Industrial Informatics.

[18]  Ken Schwaber,et al.  Agile Software Development with SCRUM , 2001 .

[19]  A. Zoitl,et al.  Dynamic reconfiguration of distributed control applications with reconfiguration services based on IEC 61499 , 2006, IEEE Workshop on Distributed Intelligent Systems: Collective Intelligence and Its Applications (DIS'06).