Speaker Topics - No Fluff Just Stuff

Mock object testing

Good tests are hard to write. High code coverage does not equate to well tested code.

In this session focus is on unit testing. We will learn what are good tests. How do you ensure that your code base is robust and well tested. We hear that unit tests must be narrow and shallow. But your code depends on a servlet container here, a database there, an ERP system, web-services. How does one test around all this ball-and-chain?

Enter mock objects. We will learn to leverage mock objects to develop focused tests that exercise interfaces that are normally beyond your control! With the proper tooling you will see that stubbing, verifying exceptions, mocking private or static methods is a piece of cake.

.


About Srivaths Sankaran

Sri Sankaran has been professionally developing software for over 15 years. During this time, he has designed and delivered solutions for clients in industries as varied as insurance, energy, telecom and the retail sector. Leveraging the breadth of this experience along with the depth of his knowledge of pertinent technologies such as Spring, Hibernate, Ajax, Java and Ruby on Rails allows him to choose the right combination of tools and techniques to solve his customers divergent needs.

Over the years as a consultant he has been relied upon as the go-to person for matters of application architecture. Project managers look to his leadership and guidance in project estimation, staffing and delivery.

When he is not working on software he spends time with his family of wife, daughter and dog. Oh, he is a rabid dog lover and would love to one day have a pack of dogs and raise them to be well balanced therapy animals.

More About Srivaths »