Back to training

Applied Advanced Unit Testing

About

This 2-day workshop comes to meet your need to improve the efficiency of the unit testing process. After this workshop you will be able to write less tests with greater impact on testability, will reduce the number of defects and improve the design of your codebase.

This workshop is available in: Java, C#, PHP, Javascript, C++, Python, Ruby

Who should attend

  • Programmers, Architects or Software developers with at least 1 year of unit testing experience
  • Testers with at least 3 years of programming experience

Objectives

  • Learn techniques to write less unit tests with greater impact
  • Increase your productivity: less tests, better tests and faster delivery
  • Improve the whole automated testing process to work faster 
  • Learn to choose the correct testing approach in different context

Course Outline

  • Intro to Advanced Unit Testing
  • Recap Unit Testing Basics
  • Create Testing Strategy: identify types of tests, their purpose, and their owners
  • Naming tests
  • Learn Advanced Test Doubles: Dummy, Fake, Probe
  • Minimize duplication in tests: Builder Pattern, Helper Methods, Custom Asserts, Data Driven Tests
  • Property Based Testing
  • Mutation Testing
  • (Optional) testing styles: classicist, mockist and combinations
  • Feedback & What’s Next

Prerequisites

  • Know unit testing concepts: System Under Test (SUT), Basic Test Doubles (Mocks, Stubs)
  • Have used a unit testing framework for at least 1 year
  • At least 3 years of programming experience

Course Delivery

  • Hands-on exercises
  • Discussions on code
  • Practical examples from the trainer
  • Continuous feedback

Practical details

  • Duration: 2 days, from 09:00 to 17:30
  • Training language: English / Romanian / French

What’s next?

  • The best way to continue after this workshop is to plan a few remote 2-hour sessions of Hands-on Training on the Job with the trainer. During these sessions you and your team will work on applying the learned concepts directly in your production code.

 

Need a customized workshop? Contact us and we’ll adapt the content as required.