Skip to content
Back to skills

340 Ephemeral Dependency 9333220a

ASecurity

If you want to unit test a model that depends on an ephemeral model, you must use `format: sql` for that input.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
testingsqltesting

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 340-ephemeral_dependency_9333220a --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 340 Ephemeral Dependency 9333220a?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 340 Ephemeral Dependency 9333220a
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-340-ephemeral-dependency-9333220a/badge)](https://www.skillsdirectory.com/skills/tools-only-340-ephemeral-dependency-9333220a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
## Unit testing a model that depends on ephemeral model(s)

If you want to unit test a model that depends on an ephemeral model, you must use `format: sql` for that input.

```yml
unit_tests:
  - name: my_unit_test
    model: dim_customers
    given:
      - input: ref('ephemeral_model')
        format: sql
        rows: |
          select 1 as id, 'emily' as name
    expect:
      rows:
        - {id: 1, first_name: emily}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.