# `Playwright.Test.PartitionFormatter`
[🔗](https://github.com/ftes/playwright_ex/blob/v1.65.0-rc.7/lib/playwright/test/partition_formatter.ex#L1)

An ExUnit formatter that writes one partition's results of `mix test --partitions`, with the
files they attach, to `partition-report/report-N.zip` (`N` its `MIX_TEST_PARTITION`), for
`mix playwright.merge_reports` to merge into one HTML or JSON report. Elixir only, not
Playwright Test's `blob` format:

    MIX_TEST_PARTITION=2 mix test --partitions 4 --formatter ExUnit.CLIFormatter --formatter Playwright.Test.PartitionFormatter

The folder is `config :playwright, :test, partition_report_dir: "partition-report"`. See
[Partitioned runs](test-artifacts.md#partitioned-runs).

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

---

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