Your SlideShare is downloading. ×
0
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Testing OSGi-based Applications with DA-Testing
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Testing OSGi-based Applications with DA-Testing

1,808

Published on

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

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
1,808
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
34
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. Testing OSGi-based Applications with DA-Testing<br />Valery Abu-Eid<br />DynamicJava.org<br />
  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. 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. 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. 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. 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. 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. Testing “Dynamic Store” application<br />Demo<br />
  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. Further Information<br />DA-Testing Homepage: http://www.dynamicjava.org/projects/da-testing<br />DynamicJava.org Homepage: http://www.dynamicjava.org/<br />

×