# \#mocking

**URL:** https://discourse.julialang.org/tag/mocking/487.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Mock.jl - mocking any function without annotations](https://discourse.julialang.org/t/mock-jl-mocking-any-function-without-annotations/133918)

<div class="topic-metadata">

**Author:** [@tz-lom](https://discourse.julialang.org/u/tz-lom)\
**Replies:** 4\
**Last updated:** [November 29, 2025, 1:43am UTC](https://discourse.julialang.org/t/mock-jl-mocking-any-function-without-annotations/133918 "2025-11-29T01:43:49Z")

</div>

I could not find a package that would allow to temporary override function implementation, so I’ve made one: Mock.jl. I’ve checked other packages before, here what I could find: Closest to the concept would be Pretend.…

---

## [\[ANN\] Pretend.jl](https://discourse.julialang.org/t/ann-pretend-jl/47282)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 0\
**Last updated:** [September 25, 2020, 6:19pm UTC](https://discourse.julialang.org/t/ann-pretend-jl/47282 "2020-09-25T18:19:15Z")

</div>

Hi there, Pretend.jl is a tool for writing functions that can be mocked easily. For the sake of simplicity, I’m using the word “mock” for all kinds of testing doubles. Such tool is very useful when working on software …
