# Workflow for faster testing of Julia packages?

**URL:** <https://discourse.julialang.org/t/workflow-for-faster-testing-of-julia-packages/113836>\
**Category:** General Usage\
**Tags:** question, testing\
**Created:** [May 4, 2024, 3:40pm UTC](https://discourse.julialang.org/t/workflow-for-faster-testing-of-julia-packages/113836 "2024-05-04T15:40:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [May 4, 2024, 3:52pm UTC](https://discourse.julialang.org/t/workflow-for-faster-testing-of-julia-packages/113836/4 "2024-05-04T15:52:01Z")

</div>

See the following thread?

> [@Code coverage with Coverage.jl in vscode](https://discourse.julialang.org/t/code-coverage-with-coverage-jl-in-vscode/65438/3):
>
> I just tried Coverage.LCOV.write(filepath, coverage) does not work. Here is the complete workflow that worked for me Julia line coverage information in VS Code First generate .cov files: using Pkg Pkg.test("MyPackage"; coverage=true) Then using Coverage coverage = process\_folder() open("lcov.info", "w") do io LCOV.write(io, coverage) end; Finally, open a source file in VS Code and run the command “Coverage Gutters: Display Coverage” in the VS Code Command Pallet.

---

_[View the full topic](https://discourse.julialang.org/t/workflow-for-faster-testing-of-julia-packages/113836)._
