# \#tdd

**URL:** https://forum.devtalk.com/tag/tdd/1281.md

[Latest](https://forum.devtalk.com/latest.md) · [Categories](https://forum.devtalk.com/categories.md) · [Tags](https://forum.devtalk.com/tags.md)

---

## [Elixir mock (test double) testing seams: a modest proposal](https://forum.devtalk.com/t/elixir-mock-test-double-testing-seams-a-modest-proposal/102176)

<div class="topic-metadata">

**Author:** [@paulanthonywilson](https://forum.devtalk.com/u/paulanthonywilson)\
**Replies:** 0\
**Last updated:** [24 March 2023 17:16 UTC](https://forum.devtalk.com/t/elixir-mock-test-double-testing-seams-a-modest-proposal/102176 "2023-03-24T17:16:04Z")

</div>

When using mocks in Elixir, particularly with Mox then the standard way of loading the implementation is along the lines of Application.get\_env(:cat\_facts, CatFacts.CatFactsApi, CatFacts.RealCatFactsApi) . In this post…

---

## [Doctest functions with side effects](https://forum.devtalk.com/t/doctest-functions-with-side-effects/47470)

<div class="topic-metadata">

**Author:** [@RudManusachi](https://forum.devtalk.com/u/RudManusachi)\
**Replies:** 0\
**Last updated:** [29 March 2022 12:20 UTC](https://forum.devtalk.com/t/doctest-functions-with-side-effects/47470 "2022-03-29T12:20:35Z")

</div>

Hi there! :wave: It’s me again! Lately I’ve been working on documentation for the project, including adding some context function usage examples, and wanted to “doctest” them for the sake of correctness. However, I not…

---

## [How to handle “TDD does not work in real life!” during code katas](https://forum.devtalk.com/t/how-to-handle-tdd-does-not-work-in-real-life-during-code-katas/43271)

<div class="topic-metadata">

**Author:** [@CommunityNews](https://forum.devtalk.com/u/CommunityNews)\
**Replies:** 3\
**Last updated:** [14 March 2022 04:35 UTC](https://forum.devtalk.com/t/how-to-handle-tdd-does-not-work-in-real-life-during-code-katas/43271 "2022-03-14T04:35:48Z")

</div>

How to handle “TDD does not work in real life!” during code katas. Doing code katas to learn real-life TDD can at first look like a scam to many developers. Listening to understand, explaining the deliberate practice p…

---

## [Inaka / TDD, Coverage and Why Testing Exceptions](https://forum.devtalk.com/t/inaka-tdd-coverage-and-why-testing-exceptions/34276)

<div class="topic-metadata">

**Author:** [@elbrujohalcon](https://forum.devtalk.com/u/elbrujohalcon)\
**Replies:** 0\
**Last updated:** [27 December 2021 12:12 UTC](https://forum.devtalk.com/t/inaka-tdd-coverage-and-why-testing-exceptions/34276 "2021-12-27T12:12:03Z")

</div>

Another week, another oldies-but-goldies post… This one about Test Driven Development.
