We provide course about Kotlin Test-Driven Development in english. Kotlin has emerged as a popular language for implementing object-oriented solutions for multiple target platform. The importance of testing Kotlin code thoroughly is clear.
Course description:
This course takes a thorough look at how to achieve this by using the Kotest library. You will learn how to write good tests, how to do so in a test-driven manner, and how to make best use of the power and flexibility afforded by the Kotest API.
Course objectives:
• Creating tests using Kotest
• Using assertions and Kotest matchers
• Adopting a test-driven approach to development
• Using stubs and mock objects
• TDD techniques
• Kotest techniques
Course content:
Module 1 - Getting Started with Testing:
• Setting the scene
• Writing tests using JUnit 5
• Writing tests using Kotest
• Understanding Kotest spec syntax
Module 2 - Unit Testing Essentials:
• Defining unit tests
• Best practices
• Testing for exceptions
Module 3 - Kotest Matchers:
• A closer look at standard Kotest matchers
• Defining custom matchers
Module 4 - Organising Tests:
• Nested tests
• Isolation modes
• Lifecycle hooks
• Additional techniques
Module 5 - Managing Test Execution:
• Ordering tests
• Tagging tests
• Test factories
Module 6 - Test-Driven Development:
• Effective test-driven development
• Refactoring techniques
• Types of tests
• Data-driven tests
• Property-based tests
Module 7 - Test Doubles:
• Making code testable
• Overview of test doubles
• Using stubs
• Using mocks
Instructor: Andy Olsen
Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.
Target audience:
Anyone who wants course about Kotlin Test-Driven Development
Prerequisites:
• Comfortable with Kotlin programming
Language:
• English course material, english speaking instructor
Course material:
The course fee includes course documentation, exercises, lunch and refreshment