Test Driven Development in a Java Environment Training in Germany

  • 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 Germany facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
05 Juli 2024
Berlin, Hamburg, Münih
2 Days
Classroom / Virtual Classroom
07 Juli 2024
Berlin, Hamburg, Münih
2 Days
Classroom / Virtual Classroom
21 Juli 2024
Berlin, Hamburg, Münih
2 Days
Classroom / Virtual Classroom
26 Juli 2024
Berlin, Hamburg, Münih
2 Days
Classroom / Virtual Classroom
01 September 2024
Berlin, Hamburg, Münih
2 Days
Classroom / Virtual Classroom
03 September 2024
Berlin, Hamburg, Münih
2 Days
Classroom / Virtual Classroom
12 September 2024
Berlin, Hamburg, Münih
2 Days
Classroom / Virtual Classroom
11 September 2024
Berlin, Hamburg, Münih
2 Days
Test Driven Development in a Java Environment Training Course in Germany

The Federal Republic of Germany is the second most populous country in Europe and is located in Central Europe. The official language of the country is German. Germany is one of the richest countries in the world. The main exports of the country include motor vehicles and iron and steel products.

Here are some fun facts about Germany:
The fairy tale writer, the Brothers Grimm, came from Germany and wrote many famous stories such as Cinderella, Snow White, and Sleeping Beauty.
Germany is home to the largest theme park in Europe, the Europa-Park.
The famous composer Ludwig van Beethoven was born in Germany.
The Autobahn, the German highway system, is known for having no general speed limit.


Berlin was divided by the Berlin Wall from 1961 to 1989. Known for its street art, Berlin has many colorful murals and graffiti throughout the city. Also, Berlin is home to many famous museums, such as the Pergamon Museum and the Museum Island. Many clubs and bars stay open until the early hours of the morning in this big city.

Another popular city is Munich, which is famous for its Oktoberfest beer festival that attracts millions of visitors every year. Munich is also home to many historic buildings, including Nymphenburg Palace and the Marienplatz town square.

The country's capital and largest city is Berlin, however Frankfurt is considered to be the business and financial center of Germany. It is home to the Frankfurt Stock Exchange, the European Central Bank, and many other financial institutions. Because of its central location within Europe and its status as a major financial hub, Frankfurt is often referred to as the "Mainhattan," a play on the city's name and its association with the Manhattan financial district in New York City.

Frankfurt is also a major transportation hub, with the largest airport in Germany and one of the largest in Europe, Frankfurt Airport. Additionally, it is a popular destination for tourists, with its historic city center, beautiful parks, and vibrant cultural scene.

Some of the top German technology companies like Siemens AG, Bosch, SAP SE, Deutsche Telekom, Daimler AG and Volkswagen has business centers in Frankfurt. The country has a strong tradition of engineering and innovation, and is home to many other world-class technology companies and research institutions.

Tailored to meet the specific needs of Germany, Bilginç IT Academy combines cutting-edge training methodologies with our comprehensive range of Certification Exam preparation courses and accredited corporate training programs. Experience a transformative approach to IT training that will redefine your expectations.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.