Testing OSGi-based Applications with DA-Testing<br />Valery Abu-Eid<br />DynamicJava.org<br />
Outline<br />The need for testing Dynamic Applications<br />The main difficulties of testing OSGi Applications<br />DA-Tes...
Why Testing Dynamic Applications?<br />To verify application’s dynamicity<br />Applications should not be considered dynam...
OSGi Application Testing Difficulties?<br />Too much of required maintaining code<br />Readability of the Testing Code<br ...
How DA-Testing solves these problems?<br />Provides a Dynamic Oriented Tests Structure<br />More suitable structure for te...
DA-Testing Concepts: Test Scenarios<br />Reflect Dynamicity Scenarios that we expect the application to have<br />Examples...
DA-Testing Concepts: Test Cases<br />Test Cases are executed as reactions to changes in the OSGi Environment<br />They con...
Testing “Dynamic Store” application<br />Demo<br />
Final Notes<br />DA-Testing is a Testing Framework which is optimized for testing Dynamic OSGi-based applications<br />It ...
Further Information<br />DA-Testing Homepage: http://www.dynamicjava.org/projects/da-testing<br />DynamicJava.org Homepage...
Upcoming SlideShare
Loading in …5
×

Testing OSGi-based Applications with DA-Testing

2,183 views

Published on

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

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,183
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
36
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Testing OSGi-based Applications with DA-Testing

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

×