Testing OSGi-based Applications with DA-Testing
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Testing OSGi-based Applications with DA-Testing

on

  • 3,767 views

Explains how to test Dynamic OSGi-based applications using DA-Testing.

Explains how to test Dynamic OSGi-based applications using DA-Testing.

Statistics

Views

Total Views
3,767
Views on SlideShare
3,757
Embed Views
10

Actions

Likes
1
Downloads
34
Comments
0

3 Embeds 10

http://www.slideshare.net 8
http://www.docseek.net 1
http://www.slashdocs.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Testing OSGi-based Applications with DA-Testing Presentation Transcript

  • 1. Testing OSGi-based Applications with DA-Testing
    Valery Abu-Eid
    DynamicJava.org
  • 2. Outline
    The need for testing Dynamic Applications
    The main difficulties of testing OSGi Applications
    DA-Testing – a framework for testing Dynamic OSGi-based Applications
    Example: Testing “Dynamic Store” application with DA-Testing
  • 3. Why Testing Dynamic Applications?
    To verify application’s dynamicity
    Applications should not be considered dynamic unless they have tests which verify their dynamicity
    To validate patches and updates prior to installing them in the production environment
  • 4. OSGi Application Testing Difficulties?
    Too much of required maintaining code
    Readability of the Testing Code
    Reusability of already available Testing Code
    Class Casting problems
  • 5. How DA-Testing solves these problems?
    Provides a Dynamic Oriented Tests Structure
    More suitable structure for testing Dynamic Applications
    Increases Testing Code reusability
    Provides an OSGi-friendly API for testers
    Increases coding efficiency by reducing testing code size and handling common OSGi testing aspects
    Runs all tests in the OSGi Environment
    No Class Casting problems
  • 6. DA-Testing Concepts: Test Scenarios
    Reflect Dynamicity Scenarios that we expect the application to have
    Examples: Runtime substitution of domain services, installation of patch bundles, etc.
    DA-Testing executes Test Scenarios to emulate changes in the OSGi Environment
  • 7. DA-Testing Concepts: Test Cases
    Test Cases are executed as reactions to changes in the OSGi Environment
    They contain assertions that validate the behavior of the application
  • 8. Testing “Dynamic Store” application
    Demo
  • 9. Final Notes
    DA-Testing is a Testing Framework which is optimized for testing Dynamic OSGi-based applications
    It increases the quality of Dynamic OSGi-based applications by providing common guidelines for testing dynamic applications
    It increases the efficiency of the testing process by handling most common problems that testers of OSGi-based applications have
  • 10. Further Information
    DA-Testing Homepage: http://www.dynamicjava.org/projects/da-testing
    DynamicJava.org Homepage: http://www.dynamicjava.org/