Course
Skills Expanded
Akka.NET Testing Fundamentals
Create and execute unit tests to test your actors' work in isolation and also integration tests with multiple actors working together.
What you'll learn
Akka.NET allows easier creation of reactive, stateful, concurrent, and fault-tolerant applications through the use of actors. Due to the nature of the Actor Model, additional testing strategies and tools are required to test our actors. By the end of this course, you'll know how to set up and execute automated unit and integration tests against your actors.
Table of contents
Course Overview
1min
Getting Started with TestKit
22mins
Writing Basic Tests
54mins
- Introduction 2m
- Overview of the TestKit Base Class 4m
- Writing Direct Tests 10m
- Writing Unit Tests 6m
- Creating and Testing a User Actor 6m
- Testing Actor Replies 8m
- Who's the Sender? 2m
- Additional Expected Message Methods 1m
- Writing Integration Tests 10m
- Synchronous and Asynchronous Actor Tests 2m
- General Testing Guidelines 1m
- Summary 2m
Using Mock Actors and Dependencies
31mins
Additional TestKit Features
30mins