# How do I get Test Coverage not to mess up @allocated calculations

**URL:** <https://discourse.julialang.org/t/how-do-i-get-test-coverage-not-to-mess-up-allocated-calculations/128418>\
**Category:** Profiling\
**Tags:** package, coverage, allocated\
**Created:** [April 25, 2025, 11:05pm UTC](https://discourse.julialang.org/t/how-do-i-get-test-coverage-not-to-mess-up-allocated-calculations/128418 "2025-04-25T23:05:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [April 27, 2025, 8:29pm UTC](https://discourse.julialang.org/t/how-do-i-get-test-coverage-not-to-mess-up-allocated-calculations/128418/4 "2025-04-27T20:29:23Z")

</div>

Example for a CI script that runs the tests with and without coverage testing. When running without I test for allocations.

> <https://github.com/Albatross-Kite-Transport/VortexStepMethod.jl/blob/main/.github/workflows/CI.yml>

---

_[View the full topic](https://discourse.julialang.org/t/how-do-i-get-test-coverage-not-to-mess-up-allocated-calculations/128418)._
