Testing is single threaded?

Is testing single threaded?

I just tried ]test DataFrames.jl and it’s been going for what feels like 20 minutes, but as far as I can tell it uses 1 single core? Surely testing is trivially multi-threaded?

1 Like

no because the native @testset supports dependency that cross different blocks, so it’s in fat not trivial.

One option is to use Prerelease of new testing framework and test run UI in VS Code

2 Likes

Most of the unit testing frameworks support multithreaded testing. It’s part of the reason they exist.

  • ReTest.jl
  • Jute.jl
  • TestItems.jl
  • XUnit.jl

The other main feature is the ability to select which tests run and randomize the order of tests or filter tests.

HTH - Drew

1 Like