Advanced Unit Testing

Workshop details
Level: Advanced

Explore advanced unit testing techniques in this 2-day, hands-on lab. Learn a variety of methods to test the tricky bits of your code and learn how to create tests that are scalable, focused, and easy to maintain.

  1. Database Testing Patterns

  2. Null Object Pattern - Simplify complicated test setup.

  3. Saff Squeeze - Using large functional tests to produce small focused tests.

  4. Peel and Slice - Healthier mocking by separating your code into small testable units.

  5. Combinations - Writing tens of thousands of parameterized tests in a few lines

  6. Property-Based Testing - Tens of thousands of tests without pre-defined parameters allowing for the discovery of obscure edge cases.

  7. Story Boards - Test multi-step flows of data over time

  8. Testing Threads - Patterns for testing race conditions and monitoring

  9. Scrubbing - Testing non-deterministic results

With hands-on exercises and group discussions, you'll leave this class with practical skills that you can apply immediately to your own codebase. Don't miss this opportunity to level up your unit testing game and take your software development skills to the next level!

Craft 2023 - Llewellyn Falco
Llewellyn Falco
Founder & Consultant at Spun Laboratories Inc.