Skip to content

About

Talk Repository for "Fake It Til' You Make It: Mocking Reality So Your Tests Can Run" - Posit::Conf(2026)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Please Let Me Merge Before I Start Crying: And Other Things I've Said At The Git Terminal

Resources for Fake It Til' You Make It: Mocking Reality So Your Tests Can Run

About

This repository contains supplemental resources and materials that coincide with the "Fake It Til' You Make It: Mocking Reality So Your Tests Can Run" talk at Posit::conf(2026).

Abstract

As data scientists mature in their work, many move from analysis scripts to larger codebases and packages, bringing unit testing into the workflow. For some, a handful of basic tests is enough. For others, as code grows more complex, familiar testing patterns may start to break. We’ll explore testing in isolation as a practical way to handle more challenging programming scenarios. We’ll cover the core ideas behind mocking and controlling your code’s environment while focusing on when, where, how, and why these techniques help in real projects.

"Fake it Til' You Make It" is intended for anyone already comfortable with unit testing who wants to explore strategies for isolating behavior, reducing test fragility, and expanding test coverage for complex systems.


This repository serves as a resource for relevant supplemental materials for those seeking to learn more about testing in isolation and mocking.


Slides and Talk Recording

The slides for "Fake It Til' You Make It" can be found on this repository here.

This talk will be presented on September 16th 2026, 3:00 PM CDT in Houston, Texas United States. A recording of this talk will be available on YouTube on a later date.


Supplemental Resources

R

Core testing

Mocking & isolation

Python

Core testing

Mocking & isolation

  • pytest-mock - thin pytest wrapper around unittest.mock (the mocker fixture)
  • responses - mock requests-based HTTP calls
  • requests-mock - alternative HTTP mocking library for requests
  • vcrpy - records real HTTP interactions once, replays them as fixtures ("cassettes") in tests
  • moto - mocks AWS services for tests (handy for AWS-backed pipelines)

Cross-Cutting Concepts

About

Talk Repository for "Fake It Til' You Make It: Mocking Reality So Your Tests Can Run" - Posit::Conf(2026)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages