Skip to content

Wakaleo Consulting

  Home

items tagged with Mockito

A new Java Power Tools Newsletter is out!
Written By: Administrator
Section: Articles and Resources

Category: Blog

2009-09-14 04:53:04
A new Java Power Tools Newsletter is out! In this issue, we study the theory and practice of Mock Objects, including the subtle differences between mocks and stubs, and a simple case study using Mockito, the new kid on the block of Mock Objects frameworks for Java. Check it out!

Test-Driven Development with Legacy code - an introduction
Written By: Administrator
Section: Articles and Resources

Category: Blog

2009-11-19 05:48:20

Test-Driven Development, or TDD, is often quoted as an essential Agile best practice, and so it is. It works wonders on green-fields projects and new code bases where you can start afresh and ensure that all your code is both easily testable and well tested. But what about legacy code? (By legacy code, I mean any code that does not have a comprehensive set of automated tests, so you might be writing legacy code as we speak). For most of us, most of the code we will ever work on will not have originally been our own work. And, unfortunately for the software industry, only a small fraction of code can really boast comprehensive unit and integration tests. How can techniques like Test-Driven Development make our work as developers more productive and less frustrating?


Read More About Test-Driven Development With Legacy Code - An Introduction...


The new TDD/BDD/ATDD for Java Developers workshop schedule is out!
Written By: Administrator
Section: News and Events

Category: News

2010-10-11 03:48:19

Come get up to speed on the latest techniques in Test-Driven Development, Behaviour-Driven Development and Automated Acceptance Testing!

The Wakaleo TDD/BDD workshop schedule for the next six months is out!

In response to popular demand, the TDD/BDD workshops have been extended to a 3-day format, and include more time for numerous labs, group programming exercises, and live coding demonstrations.

You will learn about vital modern development best practices such as Test-Driven Development, Behaviour-Driven Development, and Automated Acceptance Tests, and how to apply them in your own projects. You will gain practical experience with the latest in open source testing tools, including JUnit 4.8, Mockito, automated web testing using Page Objects with Selenium 2/Web Driver, and JOLT-Award winner easyb.

You will also learn about the relationship between Automated Acceptance Tests (ATDD) and Test-Driven Development (TDD). You will also learn how to refactor code to make it easier to maintain and to test, and how to use code coverage and code quality tools such as Cobertura to isolate poor quality or poorly-tested code.

A general outline of the course program is shown here:

  • A Gentle Introduction to Test-driven Development and Behaviour-Driven Development
  • Getting started with TDD
  • JUnit Kung Fu - Fixtures, Hamcrest asserts, Exception testing, Timeouts, Parameterized tests, Rule annotations, writing your own Hamcrest matchers...
  • Continuous Testing in Eclipse with Infinitest
  • Using Mocks and Stubs for state-based and interaction-based testing with Mockito
  • Refactoring best practices
  • Using test coverage metrics to improve your testing process
  • Testing Spring applications
  • Testing Servlet and Portlet-based applications
  • Testing a web interface with Selenium 2.0/WebDriver
  • Test-Driving Legacy Code
  • Writing more expressive unit tests in Groovy
  • Automating your Acceptance Tests - Acceptance Test Driven Development
  • Behaviour-Driven Development (BDD) and Acceptance-Test Driven Development (ATDD) with easyb

Over the first 4 months of 2011, we currently have public sessions planned for Sydney, Melbourne, Wellington, Canberra and Brisbane. And of course we can also run tailored versions of the course onsite.

These workshops are becoming increasingly popular, so it's worthwhile booking ahead. So what are you waiting for? Sign up now!






There are 3 items tagged with Mockito. You can view all our tags in the Tag Cloud

<< Start < Previous 1 Next > End >>
Page 1 Of 1

Learning Corner

Upcoming courses

Testing and TDD for Java Developers in Melbourne
3 DAY WORKSHOP
Melbourne 2-4 April
 
Testing and TDD for Java Developers in Sydney
3 DAY WORKSHOP
Sydney - 26-28 March
 
Testing and TDD for Java Developers in Canberra
3 DAY WORKSHOP
Canberra - 1-3 May