# Style: include tests in source files?

**URL:** <https://discourse.julialang.org/t/style-include-tests-in-source-files/103161>\
**Category:** General Usage\
**Tags:** question, documentation, testing, style\
**Created:** [August 24, 2023, 4:00pm UTC](https://discourse.julialang.org/t/style-include-tests-in-source-files/103161 "2023-08-24T16:00:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [August 24, 2023, 7:12pm UTC](https://discourse.julialang.org/t/style-include-tests-in-source-files/103161/6 "2023-08-24T19:12:36Z")

</div>

> [@sbuercklin](#):
>
> I believe `TestItemRunner.jl` + `TestItems.jl` let you put tests in the source code

Yes, it does. The best intro to the features etc is probably [Prerelease of new testing framework and test run UI in VS Code](https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355).

---

_[View the full topic](https://discourse.julialang.org/t/style-include-tests-in-source-files/103161)._
