Upload
parzival-stillings
View
102
Download
0
Embed Size (px)
Citation preview
imbus AG
Kleinseebacher Strasse 9D-91096 MoehrendorfGermany
Phone: +49 (0)9131 75180 Fax: +49 (0)9131 751850
Email: [email protected]: www.imbus.de
© imbus 2002
Wir sorgen dafür,dass Ihre Software
funktioniert
Testlabor
Schulung
Beratung
© imbus 2002 AGEDIS - iTEE 2
Unternehmensprofil
imbus ist spezialisierter Dienstleister für Software-Qualitätsmanagement und Software-Test.
Unsere Kunden sind: IT-Hersteller,
Softwarehäuser,
IT-/DV-Abteilungen aus Behörden und Großunternehmen.
© imbus 2002 AGEDIS - iTEE 3
Testgenerierung aus UML
SW-Zuverlässigkeit
Forschungsprojekte
Automated Generation and
Execution of test suites for
Distributed component-based
Software
http://www.agedis.de
Prediction of Software Error
rates based on Test and
Software maturity results
http://www.ist-pets.com
Research and technological development within the European Union's Fifth RTD Framework Programme
© imbus 2002 AGEDIS - iTEE 4
User
Interface
Architektur
Software ModelIntermediate Format
EncodingGenerator
AGEDIS
Abstract
Testsuite
Execution
Engine
Suite Execution
Trace
Analyzer
Visualizer
Test Goals
Compiler
Test Beans
© imbus 2002 AGEDIS - iTEE 5
User
Interface
Architektur
Software ModelIntermediate Format
EncodingGenerator
AGEDIS
Abstract
Testsuite
Execution
Engine
Suite Execution
Trace
Analyzer
Visualizer
Test Goals
Compiler
Test Beans
© imbus 2002 AGEDIS - iTEE 6
Abstract Test Suite
Testspezifikation in ATS
ATS: Abstrakte Test Spezifikation XML, abstrakter Level, Konkretisierung durch TED
Elemente der ATS Modell
Klassen (Konstante, Typen, Controls und Observables)
Objekte (werden in Testfällen angesprochen)
Testfälle enthalten stimulations, observations, states, testcases und
comments
AGEDIS
© imbus 2002 AGEDIS - iTEE 7
iTEE - Übersicht
iT EET e st Exe cution Engine
iTEETe st Age nt
AbstactTe st Spe ci-
fication(*.ats)
iTEETe st Age nt
iTEETe st Age nt
iTEETe st Age nt
Te stExe cutionDire ctiv e s
(*.te d)
Te st Re sults(*.se t)
SU T A SU T B SU T C
© imbus 2002 AGEDIS - iTEE 8
iTEE Implementierung
Implementierung Implementiert in Java (plattformunabhängig)
Verteiltes System Testagenten können auf der Plattform der iTEE residieren
oder auf externen Systemen
Leicht erweiterbar allgemein gehaltenes Command/Data Interface
Kommunikation iTEE<->TAs über TCP Sockets
Testagenten können auf jedem System implementiert sein, das TCP/IP oder ser. Kommunikation unterstützt
© imbus 2002 AGEDIS - iTEE 9
iTEE Testagenten
Offenes System
Leicht erweiterbar mit einfachen Testagenten
Zugriff auf POOs und POCs über verschiedenste Interfaces
auf unterschiedlichen Plattformen
auf unterschiedliche Arten Softwarebasiert,
Strom-, Spannungs-, Temperaturmessung oder
digitale und analoge Signale
© imbus 2002 AGEDIS - iTEE 10
iTEE Testagenten
Kombinierte HW- und SW-Tests
Testagenten auf dem Zielsystem
TCP-Agent: direkte Tests über Socket-Kommunikation
IEEE-488 (GPIB) Geräte (in Vorber.)
Agenten für RS-485, RS-232, .. Karten
Agenten für Digitale I/O Karten, Soundkarten, Relaiskarten, ...
© imbus 2002 AGEDIS - iTEE 11
iTEE Integration
Integration anderer Testtools
Integration scriptbasierter Testtools, wie Mercury WinRunner(tm)
Rational Test(tm)
Integration in Testscripten via DLL-Aufrufen Automatisierte Synchronisation dieser Testtools
Integration von GUI-Tests in automatisierte Tests
Kombination von embedded Test mit GUI-Test
© imbus 2002 AGEDIS - iTEE 12
iTEE - Übersicht
<agent id="serial0"> <properties> < ip="192.168.10.30"/> <baud="115200"/> < /properties>< /agent><agent id="qnx driver 7"> <properties> < ip="192.168.10.37"/>
<modell><classes>
<!--Definition der Treiber--><class name="qnx-message">
<controls><control signature="send(command,data)" ync"/><control signature="ack(pid):int" kind="sync"/>
< /controls><observables>
<observable signature="timeExp()" nd="async"/>< /observables>
</class></classes><!-- Instansiierung der Treiber--><objects>
<object name="qnx" class="qnx-message"/>< /objects>
< /modell>< !-- Liste von Testfällen -->< testCases><!-- Testfall-->
< testCase id="tc1">< !-- Anregung ohne Erfolgskontrolle-->
T e s t Ag e n t (T A )
Trans lation
Exce l T e s t D e scr ip tio n
XM L T ra n scr ip tio n
s end "ab c ", 0x 33, 0x 56
s end .. returned "ref"
T e s t Ag e n t (T A )T e s t Ag e n t (T A )
T e s t Ag e n t (T A )
T e s t Exe cu tio n En g in e ( iT EE )
[ J a v a -c a p a b le ][n o t J a v a -c a p a b le ]
[ r e s u lt s a r r iv e df r o m S e a rc hE n g in e ]
[D y n a m ic H T M LP a g e R e a d y ]
R e c e iv e S e a rc hR e q u e s t
Determ ine B rowser'sC apabilities
C reate Dynam icHT M L P age
T em plate
S e n d R e q u e s t t oS e a rc h E n g in e
F ill T e m p la t e w it hS e a rc h R e s u lt s
Add Java-B asedC ontrols to HT M L
P age
Add HT M L C ontrolsto HT M L P age
S e n d H T M LP a g e t o B r o w s e r
N a v ig a t io n c o n t ro ls ,w h e t h e r J a v a - b a s e d o rH T M L -b a s e d , a r e a d d e da f t e r t h e s e a rc h r e s u lt s a r ea v a ila b le s o t h a t t h e y c a nre f le c t t h e n u m b e r o f h it s .
TEE Directives
TEE Input
C .A .T.S.
F ile E d it
p o w e r te s t.a tsT o o lb ar
G ra p h ica l AT S Ed ito r C .AT S( in D e ve lo p m e n t)
wenn Possumdas lesen kann ,dann hat erverdammt guteAugen
Testing 1
NochnTest
Testing II
CentralBug Detector
Ready?not!
Writ
e/R
ead
Write/Read
T e s t Exe cu tio nD ire c tive (T ED )
ob s erve "x x y"
© imbus 2002 AGEDIS - iTEE 13
iTEE Erweiterungen
C.ATS
Erzeugung und Bearbeitung von ATS
Graphische Darstellung der Elemente
Bearbeitung auf abstraktem Level
© imbus 2002 AGEDIS - iTEE 14
iTEE Erweiterungen
Poseidon
Modellierung von Testfällen mit UML (Sequenzdiagrammen)
Übersetzung in ATS
Keine Rückübersetzung der ATS
© imbus 2002 AGEDIS - iTEE 15
iTEE Erweiterungen
AGEDIS-Toolkette
Modellierung von Testszenarien mit AML (AGEDIS UML)
Erzeugen von Testfällen mit dem Generator
Möglichkeit, sehr komplexe und umfangreiche Tests durchzuführen
© imbus 2002 AGEDIS - iTEE 16
Kontakt
Hauptsitz Erlangen/Möhrendorf:
imbus AG Tel: 09131/7518-0Kleinseebacher Straße 9 Fax: 09131/7518-50 91096 Möhrendorf Email: [email protected]
Geschäftsstelle München:
imbus AG Tel: 089/3219909-0Unter der Linde 16 Fax: 089/3219909-50
80939 München Email: [email protected]
Geschäftsstelle Rhein-Main:
imbus Rhein-Main GmbH Tel: 06192/92192-0Zanggasse 6 Fax: 06192/92192-50 65719 Hofheim Email: [email protected]