View Source mix finitomata.generate.test (Finitomata v0.29.3)

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

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