Выбор страны покажет курсы, доступные в вашем регионе.
⏱ 2 ч 54 мин📚 29 уроков🎧 Аудиоверсия
Testing Elixir with Test Doubles: Stubs, Mocks, and Fakes
Learn to isolate dependencies and write reliable unit tests in Elixir using Mox and modern concurrent testing patterns.
💬ИИ инструктор Задавайте вопросы по любому уроку — понятный ответ придёт мгновенно, в любой момент.
🕐Начните в любое время Без расписаний и дедлайнов — учитесь в своём темпе, когда удобно.
🌐На русском языке Уроки, задания и сертификат — всё полностью на вашем языке.
О курсе
Testing concurrent Elixir applications often requires isolating external services, databases, and third-party APIs. To write fast, reliable tests without hitting real external networks, you must master the art of test doubles. This text-based course guides you through the concepts and practical application of stubs, mocks, and fakes specifically tailored for the Elixir ecosystem.
You will transition from writing slow, fragile tests that rely on external state to crafting isolated, lightning-fast test suites that run concurrently without interference.
What you'll learn:
- Understand the core differences between stubs, mocks, fakes, dummies, and spies
- Configure and use the Mox library to define mock behaviors for Elixir modules
- Design clean Elixir behaviors and explicit contracts to decouple your application logic
- Implement lightweight fakes for local development and unit testing
- Manage concurrent tests safely using Mox's multi-process ownership model
- Apply modern testing patterns that align with Elixir's asynchronous nature
We begin with essential testing terminology and foundational concepts of dependency inversion. Next, you will explore step-by-step written tutorials that demonstrate how to define behaviors, swap implementations for testing, and assert on calls using Mox. Each concept is reinforced with practical code examples and conceptual walkthroughs.
This course is designed for beginner to intermediate Elixir developers who want to improve their testing practices. No advanced testing experience is required, though a basic familiarity with Elixir syntax and the Mix build tool is recommended.
Start writing robust, isolated Elixir tests today.
Содержание курса
Что вы получите
📜Сертификат об окончании Добавьте в профиль LinkedIn
💬Личный AI-наставник Застрял на уроке? Спроси встроенного наставника о чём угодно, в любой момент.
🎧Аудиоверсия включена Учитесь в дороге — экран не нужен
♾️Пожизненный доступ Возвращайтесь в любое время, без срока
📱Телефон или компьютер Работает везде и на любом устройстве
💸Возврат в течение 14 дней Без вопросов
⚡Кратко и по делу 2 ч 54 мин практического материала
Сертификат об окончании
Каждый курс, который ты завершаешь на PickAClass, выдаёт такой сертификат — оригинальный, со своим кодом, проверяемый по URL и подробный о том, что реально продемонстрировано.
P
PickAClass
Профиль навыков · проверяемый
Документ
Сертификат мастерства
Настоящим удостоверяется, что
Имя Фамилия
успешно подтвердил(а) владение
Testing Elixir with Test Doubles: Stubs, Mocks, and Fakes
Продемонстрированные навыки
✓
Анализ поведенческих паттернов
Базовый
1.2 ч
✓
Фреймворки архитектуры решений
Уверенный
1.4 ч
✓
Дизайн A/B тестирования
Уверенный
1.7 ч
✓
Поведенческий копирайтинг
Продвинутый
1.9 ч
P
PickAClass — Имя Фамилия
Testing Elixir with Test Doubles: Stubs, Mocks, and Fakes