---
title: tb mock (removed)
meta:
    description: The tb mock command has been removed.
---

# tb mock (removed)

{% callout type="warning" %}
`tb mock` has been removed.
{% /callout %}

Use one of these alternatives:

- Create fixture files manually in the `fixtures/` folder.
- Append sample data using `tb datasource append`.

For testing workflows, see [Configure local testing](/forward/test-and-deploy/test-your-project) and [tb test](/forward/dev-reference/commands/tb-test).

## Examples

Create a fixture file manually:

```shell
cat > fixtures/user_actions.ndjson <<'EOF'
{"timestamp":"2026-01-01 00:00:00","action":"CLICKED","user_id":"u_1"}
{"timestamp":"2026-01-01 00:01:00","action":"VIEWED","user_id":"u_2"}
EOF
```

Append sample data directly:

```shell
tb datasource append user_actions --file fixtures/user_actions.ndjson
```

## Options

{% table %}
  * Option
  * Description
  ---
  * N/A
  * Command removed.
{% /table %}

## Environment support

{% table %}
  * Environment
  * Supported
  * Description
  ---
  * `--local`
  * ✗ No
  * Command removed.
  ---
  * `--cloud`
  * ✗ No
  * Command removed.
  ---
  * `--branch=BRANCH_NAME`
  * ✗ No
  * Command removed.
{% /table %}
