# Looking for test cases for JuliaFormatter, i.e., please give me your big Julia repositories

**URL:** <https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569>\
**Category:** Tooling\
**Tags:** formatting\
**Created:** [June 11, 2026, 5:05pm UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569 "2026-06-11T17:05:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![penelopeysm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/penelopeysm/32/213172_2.png) [@penelopeysm](https://discourse.julialang.org/u/penelopeysm)\
**Post date:** [June 11, 2026, 5:05pm UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569/1 "2026-06-11T17:05:13Z")

</div>

Hello! Since being moved to JuliaEditorSupport a few weeks ago, v2 of JuliaFormatter has had a lot of updates and bug fixes (by my count, [47 issues have been closed by recent PRs](https://github.com/JuliaEditorSupport/JuliaFormatter.jl/issues?q=is%3Aissue%20state%3Aclosed%20closed%3A%3E%40today-30d%20linked%3Apr) – that is excluding old issues which no longer reproduce).

Now, there are still [plenty of known bugs](https://github.com/JuliaEditorSupport/JuliaFormatter.jl/issues?q=is%3Aissue%20state%3Aopen%20label%3AP4%2CP5) and almost certainly many more unknown ones. (I think it’s generally well known that JuliaFormatter v2 is quite buggy 🙂 ) However, it is at a stage where I’d like to start doing more serious CI testing on real-life, large-scale, codebases to catch more of these bugs.

If you have suggestions for large Julia repositories, particularly those with fairly diverse syntax, please let me know either [on this GitHub issue](https://github.com/JuliaEditorSupport/JuliaFormatter.jl/issues/1091) or here. Thanks 🙂

I’m also very happy to answer questions generally about JuliaFormatter, [its status, and what’s in the works](https://juliaeditorsupport.github.io/JuliaFormatter.jl/stable/status/).

And finally, massive thanks to everyone who’s engaged in issues or PRs recently!

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [June 11, 2026, 5:15pm UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569/2 "2026-06-11T17:15:18Z")

</div>

> [@penelopeysm](#):
>
> If you have suggestions for large Julia repositories

There’s a list of the largest packages (at least in 2021) at [Code, docs, and tests: what's in the General registry?](https://julialang.org/blog/2021/08/general-survey/#lines_of_code_in_general)

---

<div class="post-metadata">

**Author:** ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Post date:** [June 12, 2026, 7:54pm UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569/3 "2026-06-12T19:54:20Z")

</div>

if you want to look for crashes (rather than formatting bugs) you could use PackageAnalyzer to sweep over packages, something like:

```julia
using JuliaFormatter, PackageAnalyzer

pkgs = find_packages()
root = mktempdir() # place to download code too
for pkg in pkgs
    path, success, = PackageAnalyzer.obtain_code(pkg; root)
    if success
         try
             format(path; overwrite=false)
         catch e
             @info "Got a crash! $e at $path for package $(pkg.name) v$(pkg.version)"
          end
     end
end

```

---

<div class="post-metadata">

**Author:** ![penelopeysm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/penelopeysm/32/213172_2.png) [@penelopeysm](https://discourse.julialang.org/u/penelopeysm)\
**Post date:** [June 13, 2026, 12:09am UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569/4 "2026-06-13T00:09:06Z")

</div>

Ah, that is perfect, thank you! I had plans to doing something similar, but with a (probably rather inefficient) hand-written script to trawl the General registry and git clone everything myself 😄 .

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [June 13, 2026, 12:17am UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569/5 "2026-06-13T00:17:09Z")

</div>

Expect to clone more than 30 GB of repos (based on experience from 3 years ago, presumably nowadays it’ll be more)

---

<div class="post-metadata">

**Author:** ![penelopeysm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/penelopeysm/32/213172_2.png) [@penelopeysm](https://discourse.julialang.org/u/penelopeysm)\
**Post date:** [June 19, 2026, 9:13pm UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569/6 "2026-06-19T21:13:50Z")

</div>

For interest:

```bash
❯ du -sh .
 52G	.

❯ ls -1 | wc
   11924 11924 167094

```

(That was out of 12055 packages that `find_packages()` found, I didn’t look into what happened to the other 131.)

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [June 19, 2026, 9:21pm UTC](https://discourse.julialang.org/t/looking-for-test-cases-for-juliaformatter-i-e-please-give-me-your-big-julia-repositories/137569/7 "2026-06-19T21:21:59Z")

</div>

> [@penelopeysm](#):
>
> I didn’t look into what happened to the other 131.

It’s probably mainly repositories that have been deleted or made private after they had been registered, we also found similar fractions of disappeared packages in our previous analysis.
