Testing concurrent java programs - Sameer Arora
Upcoming SlideShare
Loading in...5
×
 

Testing concurrent java programs - Sameer Arora

on

  • 1,566 views

Session presented at the 6th IndicThreads.com Conference on Java held in Pune, India on 2-3 Dec. 2011.

Session presented at the 6th IndicThreads.com Conference on Java held in Pune, India on 2-3 Dec. 2011.

http://Java.IndicThreads.com

Statistics

Views

Total Views
1,566
Views on SlideShare
1,566
Embed Views
0

Actions

Likes
0
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NoDerivs LicenseCC Attribution-NoDerivs License

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 concurrent java programs - Sameer Arora Testing concurrent java programs - Sameer Arora Presentation Transcript

    • Testing Concurrent Java programs Sameer Arora Xebia IT Architects. 1
    • AGENDA What makes Concurrent programs hard to test. How concurrent applications design drives testability. Testing asynchronous code - demo. Testing Blocking operations and Resource Management - demo. Testing Thread Safety - demo. Complementary testing approaches. Questions & Feedback 2
    • What makes concurrency hard to testTests for Concurrent Programs are themselves concurrent programs.Failures are rare and probabilistic in nature.Execution is Platform Dependent. 3
    • Design and TestabilityEncapsulating concurrent interactions .Thread Delegation.Effectively Immutability.Figuring Single Thread Confinement.Composition. 4
    • Testing Asynchronous Method Calls Asynchronous Job Signal Demo 5
    • Testing for Resource Management 6
    • Bounded Job QueueTest for Blocking Operations - Demo 7
    • Testing for Thread SafetyBounded Job Queue Thread Interleaving Test 8
    • Complementary Testing Approaches Injecting Callbacks. Static code Analysis Tools. Code Review. Profilers and Monitoring tools. Frameworks for Multi-threaded Testing.  ConcJunit  Awaitility  MultiThreadedTC 9
    • QuestionsQuestions/Comments/Feedback 10
    • Thank you 11