Test Driven Development (TDD) using Spock or JUnit 5

Code: craft-test-TDD
Category: Automatic testing
Format: 40% lecture / 60% workshop
Duration: 3-4 days
Target audience: developers
Enrollment: Groups, companies
Venue: Client's office.

It's all about the content.

Training Program

The content of our program can be customised during pre-training analysis.

  1. Unit testing
    1. FIRST
    2. test structure (given-when-then/arrange-act-assert)
    3. naming
    4. testable code
    5. patterns
      1. Object Mother
      2. Assert Object
    6. anti-patterns
  2. Spock Framework
    1. Groovy in a nutshell
    2. structure blocks/sections
    3. parametrized tests
    4. testing exceptions
    5. conditional testing
    6. comparison: JUnit/Mockito/AssertJ vs Spock
  3. Test Driven Development
    1. red-green-refactor
    2. przejrzysta struktura testu
    3. workflow
    4. IDE (plugins, shortcuts)
  4. Refaktoring
    1. code transformations
    2. IDE support
  5. Test doubles
    1. Mock
    2. Stub
    3. Fake
    4. Dummy
    5. Spy
  6. TDD and integration tests with Spring Framework
    1. Spock/JUnit support
    2. config
    3. injections
    4. contexts
    5. cache
  7. Test Driven Development - best practices
  8. Testing - advanced topics
    1. asynch (Awaitility, Spock)
    2. mutation testing (PIT)
    3. feature toogle
    4. performance
    5. randomnes handling
    6. microbeanchmarks
    7. RxJava
    8. testing Event-Driven arch
    9. mikroservices
    10. consumer-Driven-Contracts
    11. Event Sourcing

Download PDF


Meet the experts who will conduct your training.

Contact us for a free consultation.

Firstname and lastname:

If you prefer direct contact then you can always call.

Iwona Sobótka

Training coordinator

I agree to the processing of my personal data in accordance with the Law on the Protection of Personal Data in connection with sending a request via the contact form.

Providing the data is voluntary but necessary to process the query. I have been informed that I have the right to access my data, the possibility of correcting them, demanding stopping their processing.

The administrator of personal data is Bottega IT Minds, ul. Jana Sawy 2, 20-632 Lublin, Poland.

The information clausule