Skip to content
Agentmart
Submit a tool
This entry duplicates tests-and-backends, which is the one we list in search.

tests-and-backends

pytest marker conventions for backend-tagged tests in TVBO, the slow/julia markers, and how to run the test suite locally.

Skill by virtual-twin

IndexedEUPL-1.2★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/virtual-twin-tests-and-backends-1dcc44

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

pytest marker conventions for backend-tagged tests in TVBO, the slow/julia markers, and how to run the test suite locally.

Use cases: backend, testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
tests-and-backends
Description
pytest marker conventions for backend-tagged tests in TVBO, the slow/julia markers, and how to run the test suite locally.
License
EUPL-1.2
Metadata
audience: maintainer
Instructions
55 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Tests and Backends

TVBO's test suite is **backend-tagged**: every backend integration test carries a marker so CI can run a subset depending on which extras are installed.

## Registered markers (`[tool.pytest.ini_options].markers`)

| Marker | Meaning |
|--------|---------|
| `backend_core` | Backend-agnostic core simulation tests |
| `backend_jax` | JAX backend |
| `backend_tvb` | TVB backend |
| `backend_pyrates` | PyRates backend |
| `backend_tvboptim` | tvboptim backend |
| `backend_julia` | Class-level Julia tests (any Julia-backed sim) |
| `backend_julia_diffeq` | DifferentialEquations.jl |
| `backend_networkdynamics` | NetworkDynamics.jl |
| `backend_mtk` | ModelingToolkit.jl |
| `backend_neuroml` | NeuroML/LEMS |
| `docs` | Quarto/Jupyter notebook execution tests |
| `julia` | Needs a Julia runtime via `juliacall` |
| `slow` | Long-running; excluded by default — pass `--run-slow` to include |

When adding a backend test, **always** apply the matching `backend_*` marker. CI uses these to filter.

## Running tests

```bash
# Fast, default subset
pytest

# Include slow tests
pytest --run-slow

# A specific backend
pytest -m backend_jax

# Exclude Julia entirely
pytest -m "not julia"
```

## Test layout

- `tests/` — the canonical suite.
- `dev/test/` — exploratory scripts and notebooks. **Not** picked up by `pytest`.

## Pytest config

- Default options: `-n 1 --dist=loadscope` (single-process, group-by-file). Don't override globally unless you have a reason.
- New markers must be **registered** in `pyproject.toml` or pytest will warn (`--strict-markers`).

## Adding a new backend marker

Edit `[tool.pytest.ini_options].markers` in `pyproject.toml`. Add the optional-dependency group under `[project.optional-dependencies]` so users can `pip install tvbo[<backend>]`. See the `codegen-templates` skill for the full new-backend checklist.

From virtual-twin/tvbo, EUPL-1.2.

More from virtual-twin/tvbo

Signals

Stars
5
Forks
1
Open issues
13
Last commit (this folder)
May 15, 2026 (5 months ago)
Last release
Jul 9, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
EUPL-1.2
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from virtual-twin

Cite this page

tests-and-backends skill. Agent Mart. https://agentmart.dev/skills/virtual-twin-tests-and-backends-1dcc44 (last updated 2026-10-24)