Test Driven Development in a Java Environment Training in Ireland

  • Learn via: Classroom
  • Duration: 2 Days
  • Price: From €2,801+VAT
We can host this training at your preferred location. Contact us!

This course is designed to bring about a fundamental change to the way developers go about their day-to-day business of writing software code. Instead of thinking about unit tests as at best an afterthought, having already written the application code, the course aims to turn this practice on its head, and get programmers to write tests before the code to be tested.

Originating in the Agile methodology of Extreme Programming, Test Driven Development (TDD) has become accepted as a mainstream best practice, and is being adopted by major organisations as means of improving code quality and developer productivity.

Because Test Driven Development involves such a major inversion of most developers' ways of thinking and working, the course is strongly exercise based - it is necessary to spend a large part of the two days of the workshop practicing test-first development.

Typically developers find TDD initially strange, but go on to find it quite liberating, and become 'test infected' (unable to write code without having first devised unit tests.)

The exercises are based on the Java programming language, and use the tools most central to TDD in Java, including Eclipse (students are free to use tools they are comfortable with), JUnit and some of its extensions, Hamcrest, mocking with jMock and developing system level TDD scripts using fitnesse.

Competence in Java, or similar object-oriented programming language.

At the end of this course you will have:

  • The ability to take the TDD approach to software development
  • An understanding of the key techniques and strategies of TDD, and principles of refactoring code
  • The ability to write unit tests in JUnit versions 4 and 3
  • The ability to use mock objects in unit tests
  • Work with fitnesse to develop system level tests
  • Track down bugs quickly using JUnit and fitnesse

Unit tests and the xUnit framework.

  • JUnit overview
  • The TestCase and Assert classes
  • Developing a JUnit 4 test and test suite for a class
  • Java 5 features used in JUnit 4
  • JUnit 4 versions of tests and test suites
  • JUnit and ant

Motivation for using Mock Objects.

  • Stubs and Mocks
  • Worked example
  • EasyMock argument matchers
  • Mocking and Static methods.
  • When to use Mock Objects
  • Drawbacks of Mock Objects

Test Driven Development.

  • Test Driven Development
  • Benefits of TDD
  • TDD Strategies - with JUnit and with fitnesse
  • TDD Process: Worked Examples with JUnit
  • TDD Process: Worked Examples with fitnesse
  • TDD Testing Best Practices
  • Exception tests
  • Performance tests
  • Fixing broken code in a speedy manner, successfully tracking down bugs using a combination of unit tests and TDD scripts

'Code Smells'.

  • Benefits of Refactoring Code.
  • Important Refactorings
  • Testing Patterns
  • Testing Heuristics
  • Coverage

Conclusion

  • Pros and Cons of TDD

The workshop is strongly oriented towards lab work. In order to reverse deeply ingrained habits, of writing code first and tests only as a possible afterthought, it is essential to give developers as much time as possible working in a test-first manner.



Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Ireland facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
13 February 2025
Dublin, Belfast, Cork
2 Days
Classroom / Virtual Classroom
14 February 2025
Dublin, Belfast, Cork
2 Days
Classroom / Virtual Classroom
13 February 2025
Dublin, Belfast, Cork
2 Days
Classroom / Virtual Classroom
14 February 2025
Dublin, Belfast, Cork
2 Days
Classroom / Virtual Classroom
09 April 2025
Dublin, Belfast, Cork
2 Days
Classroom / Virtual Classroom
16 April 2025
Dublin, Belfast, Cork
2 Days
Classroom / Virtual Classroom
24 April 2025
Dublin, Belfast, Cork
2 Days
Classroom / Virtual Classroom
26 April 2025
Dublin, Belfast, Cork
2 Days
Test Driven Development in a Java Environment Training Course in Ireland

Ireland is an island nation located in northwestern Europe. Its history is shaped by its position as a former British colony, as well as its rich cultural heritage, which includes a long tradition of storytelling, music, and dance. Ireland gained independence from Britain in 1922 and has since become a modern, prosperous country.

Today, Ireland is known for its beautiful landscapes, rich cultural heritage, and friendly people. Popular cities within the country include Dublin, Cork, and Galway, each with their own unique charm and character. The population of Ireland is estimated to be around 5 million people, with English and Irish being the two official languages. Ireland is also home to a vibrant tech sector, with many global tech companies choosing to locate their European headquarters in Dublin. With its mix of tradition and modernity, Ireland is a popular destination for visitors from all over the world.

Choose from our extensive selection of IT courses, covering programming, data analytics, software development, business skills, cloud computing, cybersecurity, project management. Our highly skilled instructors will deliver hands-on training and valuable insights at a location of your choice within Ireland.
Dublin is considered the technology center of Ireland. It is home to a thriving tech industry, with many global tech giants such as Google, Facebook, and Microsoft having their European headquarters in the city. Dublin's reputation as a tech hub is due in part to its favorable business environment, with a low corporate tax rate and a skilled workforce that is well-educated in science, technology, engineering, and mathematics (STEM) fields.

Dublin has also been proactive in supporting the growth of the technology sector, with initiatives such as the Dublin Commissioner for Startups and the Dublin Tech Summit, an annual event that brings together technology leaders from around the world.
We are one of the best! Bilginç IT Academy offers online, live virtual and classroom trainings in Ireland. We are delighted to assist market leaders as they shape the ever-changing and evolving digital landscape. We adapt new generation training methodologies to Ireland's needs. Enroll now and take your tech team to new heights.
Bilginç IT Academy’s coding classes in Ireland can help your team reach its full potential. Our courses, which are intended for tech firm employees, provide hands-on training in the most recent coding languages and frameworks, giving your team the knowledge they need to advance your company. Take your tech team to greater levels by enrolling right away.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.