julia-tests/SKILL.md
Run and write Julia tests with Test.jl, TestItemRunner.jl, and ParallelTestRunner.jl. Use when organizing test suites, choosing a test runner, or filtering package tests.
npx skillsauth add krastanov/juliallmagentskills julia-testsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for all Julia testing work. Choose the runner first, then load only the matching reference file.
Test.jl and Pkg.test(): open references/testjl.md@testitem suites with TestItemRunner.jl: open references/testitemrunner.mdreferences/paralleltestrunner.mdjulia -tauto --project=. -e 'using Pkg; Pkg.test()'
julia -tauto --project=. -e 'using Pkg; Pkg.test(; test_args=["integration"])'
julia -tauto --project=. -e 'using Pkg; Pkg.test(; test_args=["--verbose", "--jobs=4"])'
Pkg.test(...) over directly executing test/runtests.jl; Pkg.test
activates the intended test environment and should be the default package
validation path.JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager or
ENV["JULIA_PKG_SERVER_REGISTRY_PREFERENCE"] = "eager" before Pkg
operations in this workspace. Otherwise just-registered packages can look
unavailable and create false resolution failures.Manifest.toml directly. If test environments look stale,
run Pkg.update() and Pkg.resolve() in the relevant environment first. If
recurrent issues remain, delete the relevant Manifest.toml file and
regenerate it with Pkg.instantiate().Project.toml when needed, but update dependencies and compat only
through Pkg APIs.Pkg.develop(path=...) the local sibling repos into the active env before
debugging the tests themselves.@testset organization and common support files:
references/standard-tests.md@testitems:
references/testitem.mdreferences/parallel-files.mdreferences/conditional.mdreferences/localcoverage.mdreferences/parallel-advanced.mdjulia-docs.julia-jet.development
Fix trailing whitespace and ensure files end with newlines. Use this skill when preparing code for commit or when whitespace issues are detected.
development
Parse and write YAML in Julia with YAML.jl, including load/load_file/load_all APIs, dictionary type customization, anchors/aliases behavior, and write/write_file emission. Use this skill when reading YAML configs, converting YAML to Julia structures, or generating YAML outputs from Julia data.
development
Parse and write TOML in Julia using the TOML standard library (TOML.jl), including parse/tryparse APIs, ParserError handling, Parser reuse, and TOML.print serialization options. Use this skill when reading or generating TOML config files such as Project.toml, Manifest snippets, or other TOML-based settings.
development
Implement and debug Julia multithreading with Threads.@threads, Threads.@spawn, threadpools, locks, atomics, and race-avoidance patterns. Use this skill when parallelizing CPU work, configuring Julia thread counts, fixing data races, or handling thread-specific caveats such as task migration.