# `mix finitomata.generate.test`
[🔗](https://github.com/am-kantox/finitomata/blob/v0.35.0/lib/mix/tasks/finitomata_generate_test.ex#L1)

Mix task to generate the `Finitomata.ExUnit` test scaffold.

### Allowed arguments

- **`--module: :string`** __[mandatory]__ the name of the module the test to be generated for
- **`--file: :string`** __[optional, default: derived from `module` name]__ the name of the file
  to store the test module definition in
- **`--dir: :string`** __[optional, default: `test/finitomata`]__ the name of the directory
  to put the file in

### Example

```sh
mix finitomata.generate.test --module MyApp.MyFSM
```

---

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