TestCon Europe 2019

Slavoj Písek

Diebold Nixdorf, Czech Republic

Venue

Crowne Plaza VIlnius (M. K. Čiurlionio str. 84, Vilnius, Lithuania) or Panorama Hotel (Sodu str. 14, Vilnius).

The exact venue of each workshop will be announced on 8 October.

}

Time & Date

10:00, 15 October

Language

English

BIO

Slavoj Písek – is a senior developer and development team leader at Diebold Nixdorf. He has got nearly 2 decades experience in software developing and testing.
For more than 6 years he has been participating in the implementation of automated testing in the company as a team leader and project leader. Besides, he is an author or coauthor of several articles in IT magazines, and more than 20 books on programming and Information technologies.
Besides he is a regular contributor to the classes of SW testing and developing on several Czech universities and to IT conferences.

Workshop

Test Driven Development (TDD) Demystified

Abstract

As agile methodologies came to the power, testing and writing the code is bound as tight as never before. In that situation TDD concept shows itself in its best. But it need not be so obvious that the TDD is not only about writing huge number of tests. It is about understanding benefits and costs of the unit testing and early testing in general. This tutorial should give you some clues if the TDD is worth doing. We will discuss it without any prejudices and marketing phrases. The hardest part of starting with the TDD is to find a good starting point. It is quite common that people want to start but the first objections discourage them and they refuse TDD at all.
Within the course we are going to form groups of two or three and start to build up a simple project using TDD from scratch. We will focus on the advantages of this approach, but we will not close our eyes before all possible pitfalls. You might find there answers to some questions that caused your previous denial of TDD.

Agenda
  • Part 1
    • TDD roots
    • Basic ideas of TDD
    • Unit testing
    • Unit testing tools
    • JUnit and its usage
    • Unit testing in TDD context
  • Part 2
    • Dependency injection
    • Objects double
    • Stub and Fake objects
    • Mocking objects
    • Mockito tool
  • Part 3
    • Code refactoring
    • TDD and unexpected expectation
Objectives

The main goal of this workshop is to introduce participants with main concepts of TDD. In hands on exercises, the participants could try to develop some simple projects using TDD. The workshop doesn’t blindly adore TDD but tries to create balanced overview of the topic.

Target audience

The target audience includes those interested in modern techniques of software development, particularly in TDD. Open minded people, who like to discuss pros and cons of given topics, are more than welcomed.

Technical requirements

-General requirements

            – A notebook with 10 GB free space on HDD, and min 4 GB RAM

            – Possibility to copy and run portable applications from an external drive

– Installations:

            – Installed Java 10 JDK or newer,

            – Eclipse or IntelliJ IDE with JUnit 4 or 5,

            – Git client.

            – Maven

– Technical knowledge:

            – Basic programming in Java, or some other programming language

            – Basic JUnit knowledge is advantage, but it is not really necessary.