AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Unlicense Self-run

Julia Tests

skill-krastanov-juliallmagentskills-julia-tests · by Krastanov

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.

No reviews yet
0 installs
26 views
0.0% view→install

Install

$ agentstack add skill-krastanov-juliallmagentskills-julia-tests

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-krastanov-juliallmagentskills-julia-tests)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Julia Tests? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Julia Tests

Use this skill for all Julia testing work. Choose the runner first, then load only the matching reference file.

Choose a Runner

  • Standard Test.jl and Pkg.test(): open references/testjl.md
  • @testitem suites with TestItemRunner.jl: open references/testitemrunner.md
  • File-per-test suites with ParallelTestRunner.jl: open references/paralleltestrunner.md

Quick Commands

julia -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"])'

Default Rule

  • Prefer Pkg.test(...) over directly executing test/runtests.jl; Pkg.test

activates the intended test environment and should be the default package validation path.

  • For test-only dependencies, use test/Project.toml and add

[workspace] projects = ["test"] to the root Project.toml. Avoid adding new [extras]/[targets] test dependencies except for legacy compatibility.

  • For randomized tests, add StableRNGs to the test environment and use

StableRNG(seed) objects passed explicitly to random APIs. Do not rely on Julia's default RNG, Random.seed!, or MersenneTwister for reproducible tests.

  • Set 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.

  • Never read or edit 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().

  • Read Project.toml when needed, but update dependencies and compat only

through Pkg APIs.

Resolve First

  • If tests hit unreleased compat or registry lag in a multi-repo checkout,

Pkg.develop(path=...) the local sibling repos into the active env before debugging the tests themselves.

Writing Tests

  • Standard @testset organization and common support files:

references/standard-tests.md

  • Writing filter-friendly @testitems:

references/testitem.md

  • Writing file-per-test suites for ParallelTestRunner.jl:

references/parallel-files.md

Extra References

  • Conditional loading and environment-based test selection:

references/conditional.md

  • Local code coverage checks and reports with LocalCoverage.jl:

references/localcoverage.md

  • Advanced ParallelTestRunner.jl setup:

references/parallel-advanced.md

Notes

  • Keep doctest authoring and Documenter-specific setup under julia-docs.
  • Keep JET-specific analysis workflow under julia-jet.
  • Prefer one top-level testing skill and a few narrow reference files over many

sibling skills.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.