con un clic
test-stages
Staged test organization and testing guidelines for Mycelia
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Staged test organization and testing guidelines for Mycelia
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Rules for test isolation — preventing global state leakage from @eval monkeypatching
Mycelia-specific test coverage expansion workflow
Diagnose and fix Lustre scratch "disk full" errors on /global/scratch when filesystem space appears available. Use for failed downloads/writes in scratch, TMPDIR issues, OST/MDT saturation, quota checks, and re-striping temp paths to healthy pools.
External tool integration and citation requirements for Mycelia
SLURM and HPC guidance for Mycelia benchmarks and large-scale analysis
Julia coding style and import rules for Mycelia package
| name | test-stages |
| description | Staged test organization and testing guidelines for Mycelia |
The test suite is tiered by workflow stage.
test/1_data_acquisition/ - Data loading and acquisitiontest/2_preprocessing_qc/ - Quality control and preprocessingtest/3_feature_extraction_kmer/ - K-mer analysis and feature extractiontest/4_assembly/ - Assembly algorithmstest/5_validation/ - Validation and verificationtest/6_annotation/ - Annotation workflowstest/7_comparative_pangenomics/ - Comparative and pangenomic analysistest/8_tool_integration/ - External tool integrationAdditional directories:
test/in_development/ - Opt-in experimental teststest/deprecated/ - Legacy tests (do not use)assembly_merging.jl)Test.@testset with descriptive labelsassembly_test_data/StableRNGs for deterministic seedsExample:
import Test
import StableRNGs
Test.@testset "Assembly Merging" begin
rng = StableRNGs.StableRNG(42)
# Test code with deterministic randomness
end
# Core tests (Aqua + optional JET)
julia --project=. -e "import Pkg; Pkg.test()"
# Full pipeline tests
MYCELIA_RUN_ALL=true julia --project=. -e "import Pkg; Pkg.test()"
# External tool tests
MYCELIA_RUN_EXTERNAL=true julia --project=. -e "import Pkg; Pkg.test()"
# Coverage (disable precompilation for accurate line hits)
MYCELIA_RUN_ALL=true MYCELIA_RUN_EXTERNAL=true \
julia --project=. --compiled-modules=no -e "import Pkg; Pkg.test(coverage=true)"
# Static analysis
julia --project=. test/jet.jl
Test.@test_skip ONLY for explicitly planned but unimplemented featuresMYCELIA_RUN_EXTERNAL), enable them by default unless the user explicitly opts outMYCELIA_RUN_EXTERNAL=true without extra flags