Unit testing and TDD (Test driven development) are known as two of the most effective software practices. Developers who write unit tests have less bugs, fix those bugs faster, and speed up development as a whole.

This 2-day workshop introduces unit testing and Test-Driven Development to developers. Attendees will practice the needed techniques to start testing both new and existing code. At least half of the workshop is hands-on exercises.

The workshop is intended for: Software developers and team leaders.

Workshop length: 2 days.

Workshop goals

Following the workshop, attendees will be able to:

  • Describe where unit testing fits in the quality process
  • Use unit testing tools
  • Write unit tests
  • Refactor code to make it more testable
  • Mock different kinds dependencies
  • Include tests in automated builds
  • Use TDD to develop new code

Workshop agenda

  • Testing theory
  • What are unit tests and how they compare to other types of tests
  • Translation of system cases to unit test cases
  • Test planning and design
  • Test organization
  • Unit testing frameworks : Features, how they run, asserts, fixtures and data-driven tests
  • Coverage metrics
  • Maintaining code by: Testing, Mocking, Refactoring
  • Testing in legacy code
  • Mocking frameworks: behavior and interaction, alternatives.
  • Using unit tests in automated builds
  • Testable design
  • Unit testing best practices
  • Test Driven Development principles

 Prerequisites

  • Attendees need a laptop with an IDE with a unit testing and mocking tool, depending on development language
  • The training materials are targeted for Java, JavaScript, Python, C, C++, Go or C# developers.
  • No testing experience is required.

Register Now!