Complementing Unit Test with Dependency Injection and Mock Objects

Paulo Caroli’s session on ‘ Complementing Unit Test with Dependency Injection and Mock Objects ‘ presented at the Conference On Java Technology 2007 held in Oct 2007 in Pune, India.

Speaker– Paulo Caroli, is an application architect for ThoughtWorks, US. He has a Master’s Degree in Software Engineering, and is a Sun Certified Architect for Java Technology with more than 13 years experience in Software Development.

Moreover, he is currently a trainer for ThoughtWorks on Agile Techniques, such as XP, TDD and Object Oriented development practices. Throughout his career, he has had the opportunity to speak at several technical conferences, and provide training on a multitude of technical topics.

Session Abstract

– Unit Test and TDD
– Testing Dependent Components
– Dependency Injection
– Mock Objects
– Case Study
– Conclusion
– Q&A The take away for the audience will be
– Understand the need for Mock Object frameworks
– Peek into the basics of JMock – a Mock Object Open Source framework
– Understand Dependency Injection and how it improves testability
– Distinguish Constructor and Setter Dependency Injection
– Glimpse of the leading Open Source Dependency Injection Frameworks Spring, PicoContainer and Guice
– Understand and experience TDD Test Driven Development as it is applied to more complicated unit tests (e.g. dependent component, circular dependency and database layer abstraction) .

Presentation PDFComplementing Unit Test with Dependency Injection and Mock Objects

Related :
* Which Java unit testing framework suits you best? JUnit, TestNG, JTiger…?
* Dependency Injection with Spring or Java EE 5 / EJB 3.0 ?
* Will JUnit test case auto-generation revolutionize unit testing?

Content Team

The IndicThreads Content Team posts news about the latest and greatest in software development as well as content from IndicThreads' conferences and events. Track us social media @IndicThreads. Stay tuned!

0 thoughts on “Complementing Unit Test with Dependency Injection and Mock Objects

  • October 5, 2007 at 4:21 am

    Yes Perfectly agree with author.We need to improve a lot and escalate innovation and R&D sector to india in major terms.


Leave a Reply