Why Attend?

Software Craftsmanship is at the heart of this course. Throughout this training series, your team will learn about the Software Craftsmanship mindset and how to apply it within your organisation.

Writing Clean Code is difficult. Cleaning existing code, even more so. Your team should attend if you need them to:

  • Write clean code that is easy to understand, maintain, and adapt
  • Become more proficient in Test-Driven Development (TDD): using tests to design and build
  • Through practical exercises, learn the difference between the two most important TDD styles: Chicago school (classicist) and London School (outside-in).
  • Learn how to define test boundaries and responsibilities.
  • How do we define a unit?
  • What is the difference between the test boundary and test responsibility?
  • What should we mock? What should not be mocked?
  • Learn how to write tests that express business behaviour, not technical implementation.
  • Learn how to test and refactor legacy code
  • How to deal with hard-wired dependencies
  • How to localise tests while avoiding a major refactor of the code
  • Refactor the code to express business rules

Clean code necessitates good design. Your team will learn how to:

  • Design code that expresses business requirements.
  • Understand design principles that lead to clean code
  • Pay attention to every minor detail at code level, like names, responsibilities of classes and methods, types,
  • Look closely at the key principles of design like coupling and cohesion and how they are applied at code level.
  • Avoid over-engineering and large rewrites by incrementally evolving the software design through testing

Software Craftsmanship is a mindset that focuses on professionalism and quality. Clean Code and Test-Driven Development are part of that mindset and are at the heart of this course. More than learning the techniques, the course also touches on the attitude expected from professional software developers.

Audience

This course is designed for software development teams that are:

  • Fluent with at least one Object-Oriented language, such as Java, C#, or C++
  • Able to understand Java or C#
  • Able to write and execute unit tests using a framework, such as JUnit, NUnit, etc.
  • Have a basic understanding of mock objects

Note: this is not a course for people who are learning how to code. Developers with a few years in the industry will benefit more from this course then people with limited industry experience. Also, this is not a basic TDD training. This course is fully hands-on and fast-paced. Although the course can be attended and followed by developers without TDD experience, people with TDD experience will benefit more from it.

Course Content

Principles of:

  • Test-Driven Design (TDD)
  • Object-Oriented Design (OOO)
  • Domain-Driven Design (DDD)

Content:

  • Advanced introduction to TDD lifecycle
  • Chicago School (classicist) TDD
  • London School (Outside-In) TDD
  • Expressing business behaviour via tests, not implementation
  • Principles of Clean Code and good design
  • Using unit tests as a tool to drive good design
  • Mocking as a design tool
  • Expressive code that describes business rules
  • Testing and refactoring legacy code
Prerequisites

The is a hands on training course. Software development teams will be required to write a lot of code.

Required:

  • Bring their own laptop
  • Be able to create projects, build source code, and run test cases in their development environment
  • Have a development environment that consists of the following:
    • Object-Oriented language
    • A unit test framework
    • A mocking library
  • A distributed version-control system such as Github is preferable
COURSE INSTRUCTOR Sandro Mancuso

Software craftsman, author, Co-Founder of Codurance, and Founder of the London Software Craftsmanship Community (LSCC). Sandro has been coding since a very young age, but only started his professional career in 1996. He has worked for startups, software houses, product companies, international consultancy companies, and investment banks.

During his career Sandro has had the opportunity to work on a variety of projects, spanning different languages, technologies, and industries. Sandro has a lot of experience in bringing the Software Craftsmanship ideology and Extreme Programming practices to organisations of all sizes. Sandro is internationally renowned for his work on evolving and spreading Software Craftsmanship. His professional aspiration is to raise the bar of the software industry by helping developers become better at their craft.

You're in good company

Asos logo Aspect Capital logo Flextrade logo M&G Investments logo Moonpig logo Societe Generale logo Roche logo Vistaprint logo Schibsted logo Siemens logo lastminute_logo

Let’s discuss your training needs

We are excited to learn more about your business. Find out how Codurance’s training courses can power your technology teams.