Boost your Architecture by Test-Driven Development
Praktisk træning i, hvordan man bruger Test-Driven Development (TDD) til at booste arkitekturen af dine projekter. Kurset dækker skrivning af unit-, integrations- og end-to-end tests, og viser hvordan du kan beskytte og håndhæve reglerne i din arkitektur. Vi viser måder, TDD hjælper med at bygge og forbedre bæredygtig arkitektur. JUnit, Kotest og Spock frameworks bruges i eksemplerne, dog er viden opnået under kurset let anvendelig på andre testbiblioteker. Under kurset vil deltagerne lære om udfordringerne ved at vedligeholde et stort antal tests i et projekt, og hvordan man undgår de sædvanlige faldgruber.
60% workshop /
40% forelæsning
Udviklere og Tech Leads
- Testtyper og TDD/BDD med rød-grøn-refakter
- JUnit og Spock/Kotest grundlæggende med praktiske eksempler
- Test-doubler: dummies, fakes, stubs, mocks, spies
- Integrationstest i Spring Boot: DB, tjenester, REST, eksterne systemer
- Strategier for læsbare, vedligeholdbare testsuiter
Dag 1
- •Introduction
- ○Why do we need tests?
- ○Unit, integration, contract, and end-to-end tests
- ○Shapes of tests
- ○TDD/BDD
- •Kotest or Spock
- ○Features and examples
- ○Comparison to other Java testing libraries
- ○Killer features
- •Test doubles
- ○Dummies
- ○Fakes
- ○Stubs
- ○Mocks
- ○Spies
- •Properly written tests
- ○Good unit tests
- ○Code smells in unit tests
- ○Patterns
Dag 2
- •Integration tests (with examples in Spring Boot)
- ○Why do we need integration tests?
- ○Different flavours of integration tests
- ○Setup for integration tests
- ○Testing integration with database
- ○Testing application services
- ○Testing REST
- ○Testing communication with external services
- •Testing Dates
- •Tests Maintenance
- ○Challenges with maintaining a large number of tests
- ○Readable and maintainable big suites of tests
Klar til at komme i gang?
Kontakt os for at diskutere dine uddannelsesbehov, tidsplan, og hvordan vi kan tilpasse dette program til dit team.









