Component-based Simulation Framework for Testing of Software Components
Download
1 / 15

Tomáš Potužák Department of Computer Science and Engineering Faculty of Applied Sciences - PowerPoint PPT Presentation


  • 97 Views
  • Uploaded on

Component-based Simulation Framework for Testing of Software Components. Tomáš Potužák Department of Computer Science and Engineering Faculty of Applied Sciences University of West Bohemia, Pilsen, Czech Republic. Presentation Content. Introduction and Motivation

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Tomáš Potužák Department of Computer Science and Engineering Faculty of Applied Sciences' - javen


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

Component-based Simulation Framework for Testing of Software Components

Tomáš Potužák

Department of Computer Science and Engineering

Faculty of Applied Sciences

University of West Bohemia, Pilsen, Czech Republic


Presentation Content Components

  • Introduction and Motivation

  • Component Models and Frameworks

  • Simulation Framework Description

    • Features

    • Components Interactions

    • Restrictions and Issues

  • Live Demonstration of the Simulation Framework

  • Future Work


Introduction and motivation
Introduction and Motivation Components

Software component approach

System constructed from set of individual components potentially created by various parties

Each component considered as black-box with no externally observable state

Testing of components

Often tested for extra-functional properties and quality of services (functionality according specification often considered implied)

Often utilization of potentially incorrect models of components

Simulation framework for testing of real components


Component models and frameworks
Component Models and Frameworks Components

Component model

Specifies the look, behavior, and interaction of the components

Component framework

Implementation of an specific component model

Not to be confused with simulation framework for testing

OSGi component framework

Widely used in many fields of industry

Spring DM extension of the OSGi

Simplification of the development process


Simulation framework for component testing
Simulation Framework for Component Testing Components

A simulation framework designed using SpringDM for testing of real components

No need for creation of models of the tested components

Testing of OSGi components

Framework also constructed from components

Modularity of the framework

Easy to change the features of the simulation

Implementation of the simulation framework

Tomáš Kabíček and Matěj Prokop as two master thesis


Framework types of components
Framework – Types of Components Components

Components of the framework

Components necessary for functionality of the framework

Real tested components

Components to be tested in the simulation framework

Simulated components

Components for providing of the services required by the real tested components

Intermediate components

Components for mediating of the services between two real tested components



Framework features i
Framework – Features I Components

Possible to test one or more real components in simulation environment

Services required by the real tested components provided by other real components or simulated components

All services invocations managed by the simulation framework using event calendar without necessity of deprecated methods

Depiction of components

Three variously detailed variants, automated components layout

Depiction of the simulation run by components highlighting and depiction of the events in the calendar


Framework features ii
Framework – Features II Components

Logging of all events of the simulation run into a text file

Logged all events, similar to the depiction of the calendar, but more detailed

Simulation scenarios described in XML files

Description of the components and their types

Description of external events in the simulation run

Description of the behavior of the simulated components (in separate XML files)




Framework restrictions and issues
Framework – Restrictions and Issues Components

Restriction

Only for OSGi/SpringDM components

Issues

No collections of statistics/results aside the log

Only one simple case study implemented, many aspects not tested

No handling of system time calls, remote services etc.


Framework live demonstration
Framework – Live Demonstration Components

Demonstration of the simple case study directly in the simulation framework


Future work
Future Work Components

Implementation of a component for statistics collections

As a master thesis of a student

Testing of two more advanced case studies

File manager

Traffic crossroad

Solving of issues

Handling of system time calls and remote connections


Thank you for your attention
Thank you for your attention Components

Questions?


ad