A Test Harness for a Control Software
Authors
Okika, Joseph Chukwudi ; Siddalingaiah, Lokesh
Term
10. Term
Education
Publication year
2005
Abstract
Specialet viser, hvordan vi udviklede en modelbaseret test-ramme – en software-ramme til at køre automatiserede tests – til styresoftware. Tilgangen illustreres med et casestudie af Alpha Shipmate-styresoftware i den elektroniske styreenhed (ECU) for en marinedieselmotor. Vi anvender objektorienteret analyse og modelbaseret design og modellerer med Unified Modeling Language (UML) i Rhapsody-værktøjet. Vi bruger velkendte designmønstre til at strukturere systemet. Test-rammen kan køre testskripter skrevet i Testing and Test Control Notation version 3 (TTCN-3), et standardiseret sprog til specifikation og afvikling af tests. Den omfatter også en Java-baseret grafisk brugerflade, som forbindes til motorens styrefunktioner via Java Native Interface (JNI), der gør det muligt for Java-kode at kalde native (ikke-Java) funktioner. Samlet giver dette en struktureret måde at designe og afvikle tests for kompleks styresoftware i maritime applikationer.
This thesis shows how we developed a model-based test harness—a software framework for running automated tests—for control software. We illustrate the approach with a case study of the Alpha Shipmate control software used in the Electronic Control Unit (ECU) of a marine diesel engine. Our process applies object-oriented analysis and model-based design, using Unified Modeling Language (UML) diagrams in the Rhapsody modeling tool. We use established software design patterns to organize the system. The test harness executes test scripts written in Testing and Test Control Notation version 3 (TTCN-3), a standard language for specifying and running tests. It also includes a Java-based graphical user interface that connects to the engine control functions through the Java Native Interface (JNI), which lets Java code call native (non-Java) functions. Together, these elements provide a structured way to design and run tests for complex control software in marine applications.
[This abstract was generated with the help of AI]
Documents
