# `mix beancount.golden.update`
[🔗](https://github.com/thanos/beancount_ex/blob/v0.6.0/lib/mix/tasks/beancount.golden.update.ex#L1)

Regenerate the golden fixtures under `test/fixtures/golden/`.

For every fixture case it:

  * evaluates `input.exs` and writes the rendered `expected.bean`;
  * if `bean-check` is available, runs it and writes the normalized
    `expected.result.json`.

## Usage

    mix beancount.golden.update

Rendering is deterministic, so re-running the task without changing inputs
produces no diff.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
