Files
JuliaFEM.jl/test
Jukka Aho fa762a11ec test: wire suite helpers, topics, and drop cantilever Gmsh mesh
The default harness loads shared helpers and smoke checks before topic
includes, registers poroelastic and thermo_poroelastic, drops the retired IO
topic, and removes the orphaned ASCII fixture.

- Add zero_alloc_helpers.jl, test_api_contract.jl, test_pkg_hygiene.jl, and
  test_inference_smoke.jl included once from runtests.jl
- Extend TOPICS; remove io; clarify test_args accepts topic names only
- Delete test/testdata/cantilever_beam.msh
2026-05-11 02:38:59 +03:00
..
2026-05-09 18:37:55 +03:00

JuliaFEM.jl package tests

The active tree mirrors src/. test/runtests.jl includes one topic bundle per row in the TOPICS array:

  • basis, fields, physics, elements, materials, topology
  • domains/continuum, domains/heat, domains/thermo_elastic
  • dofs, assemblers, validation, reference

Each topic directory contains its own runtests.jl that aggregates @testset files in that folder.

Commands

julia --project=. -e 'using Pkg; Pkg.test()'

GitHub Actions runs the full suite on Julia 1.10 and latest stable, and a parallel assemblers-only job (latest stable, no coverage) via test_args — see .github/workflows/CI.yml job test-assemblers.

Filter to one or more topics via test_args (strings must match TOPICS in test/runtests.jl, e.g. assemblers, dofs, domains/heat):

julia --project=. -e 'using Pkg; Pkg.test(; test_args=["assemblers"])'

Same filtering when invoking the runner directly:

julia --project=. test/runtests.jl assemblers
julia --project=. test/runtests.jl assemblers dofs

Older / Legacy tests

Specs that still target removed APIs or experimental layouts may live under llm/design/legacy-tests/ (often gitignored). They are not picked up by test/runtests.jl.

  • test/materials/README.md — materials-specific layout.
  • Website-only notes under juliafem.github.io/test/ are not this suite.