Understanding and Using Unit Testing

A comprehensive course to truly understand and apply unit testing, component testing, integration testing, system testing, and acceptance testing.

Duration: 2 days | Price: € 590.00 VAT excluded

Prerequisites
  • Good knowledge of the language used for the exercises and OOP in general (inheritance, polymorphism, encapsulation)

  • Although not strictly required, it is recommended to have previously attended the course Truly Apply OOP and Design Patterns to get the most out of the unit testing exercises.

Description

The difference between a craft process and an industrial process lies in the reproducibility of the same within a strict tolerance degree, with predictable and repeatable costs, times, and results. Producing quality software is complicated and expensive; a craft approach cannot be followed. Trying to produce software using a craft process (without automation for build and automatic testing) is very risky and costly for the company. There are no shortcuts: developing quality code requires testing of methods, classes, components, and the system as a whole.

With the “Understand and Use Unit Testing” course, you will learn how to write automated tests for functions and classes, create code with fewer bugs, and in less time. The time spent writing unit tests will pay off with interest. Moreover, you will improve the documentation of the code and produce code and software of excellence.

Contents
What does doing testing mean?
  • Definitions

  • Testing Methodologies

  • Testing Levels

  • What to Expect and What Not to Expect

Identify the System Under Test (SUT)
  • What should I test?

  • How should I test it?

  • How to choose the right tes

Testing in practice
  • What is AAA (Arrange-Act-Assert) and how to apply it
  • Unit Testing
    • What it is and who should do it
    • Practical exercises
  • Integration Testing
    • What it is and who should do it
    • Practical exercises
  • System Testing
    • What it is and who should do it
    • Practical exercises
  • Acceptance Testing
    • What it is and who should do it
    • Practical exercises
  • Automate Tests
  • Other types of tests

During the exercises, different tools and support languages ​​will be used. Each session can focus on only one of the following stacks for unit testing:

  • Delphi / DUnitX
  • Python / PyTest
  • C# / UnitTesting
  • PHP / PHPUnit

For some exercises, you will need to use Python even if the stack chosen is another one.

If you are interested in other technologies or tools, you can specify it in the information request below.

Scroll to Top