PropEr Shrinking Optimization in Elixir
Learn how to use the let_shrink macro in PropEr to write high-performance property tests that efficiently minimize complex counterexamples in your Elixir applications.
-
💬
Instruktor AI
Zadawaj pytania o każdą lekcję i otrzymuj jasną odpowiedź od razu, o każdej porze. -
🕐
Zacznij kiedy chcesz
Bez harmonogramów i terminów — ucz się we własnym tempie, kiedy chcesz. -
🌐
Po polsku
Lekcje, zadania i certyfikat — wszystko w pełni w Twoim języku.
O tym kursie
Property-based testing (PBT) is a powerful technique, but when dealing with large or deeply nested Elixir data structures, the shrinking phase can become slow or ineffective, obscuring the root cause of bugs. This course teaches you how to leverage PropEr's advanced shrinking capabilities to ensure your tests run quickly and reliably, providing minimal, clear counterexamples every time a property fails.
What you'll learn:
* Understand the core concepts of generating, testing, and shrinking data in property-based testing using PropEr.
* Apply the let_shrink macro and custom combinators to control how complex generated data is minimized upon failure.
* Design efficient generators and shrinkers for recursive and highly structured Elixir data types like graphs or nested maps.
* Practice measuring and optimizing the performance impact of your shrinking strategies within the testing workflow.
* Configure PropEr test integration seamlessly alongside standard unit tests in an Elixir project structure.
We begin by reviewing the fundamentals of PropEr before diving into practical examples demonstrating the performance benefits of optimized shrinking. The course culminates in applying these techniques to real-world complex data models. This course is designed for Elixir developers familiar with basic testing who want to integrate or improve their use of property-based testing with PropEr. No prior experience with advanced PropEr features is required. Start reading today and transform the reliability and speed of your Elixir testing suite.
Co otrzymasz
-
📜
Certyfikat ukończenia
Dodaj do profilu LinkedIn -
💬
Osobisty tutor AI
Utknąłeś na lekcji? Zapytaj wbudowanego tutora o cokolwiek, w dowolnej chwili. -
🎧
Wersja audio w zestawie
Ucz się w drodze — bez ekranu -
♾️
Dożywotni dostęp
Wracaj, kiedy chcesz — bez wygaśnięcia -
📱
Telefon lub komputer
Działa wszędzie, na każdym urządzeniu -
💸
Zwrot w 14 dni
Bez pytań -
⚡
Krótko i konkretnie
2 godz 42 min praktycznej treści
Recenzje
Brak recenzji — bądź pierwszą osobą, która podzieli się doświadczeniem.
Najczęstsze pytania
Czego potrzebuję, by wziąć udział w tym kursie? +
Wystarczy telefon lub komputer z internetem. Bez instalacji i specjalnego sprzętu.
Jak zapłacić? +
Kartą przez Stripe. Nie przechowujemy danych karty — robi to bezpiecznie Stripe.
Czy mogę otrzymać zwrot? +
Tak — pełen zwrot w 14 dni, bez pytań.
Jak długo będę mieć dostęp? +
Na zawsze. Po zakupie kurs jest twój — wracaj, kiedy chcesz.
Czy dostanę certyfikat? +
Tak. Po ukończeniu otrzymasz certyfikat, który możesz dodać do profilu LinkedIn.
Stworzony dla uczących się w
IT
Design
Finanse
Marketing
Ochrona zdrowia
Edukacja
Hotelarstwo
Produkcja