View Source mix enfiladex (enfiladex v0.3.1)

Mix task to run commot_test with ExUnit test files.

Accepted arguments:

  • --test-dir (default: ["test"]) — accumulated list of dirs to run enfiladex task in
  • --ct-logs-dir (default: ["ct_logs"]) — the directory where to pul ct_logs outcome to

Full list of options:

  • {dir, TestDirs} — as --test-dir
  • {suite, Suites} — as suite per test module with use Enfiladex.Suite
  • {group, Groups} — as gained from describe blocks per suite
  • {testcase, Cases}
  • {spec, TestSpecs}
  • {join_specs, boolean()}
  • {label, Label}
  • {config, CfgFiles}
  • {userconfig, UserConfig}
  • {allow_user_terms, boolean()}
  • {logdir, LogDir} — as --log-dir
  • {silent_connections, Conns}
  • {stylesheet, CSSFile}
  • {cover, CoverSpecFile} — requires .erl files, TODO
  • {cover_stop, boolean()}
  • {step, StepOpts}
  • {event_handler, EventHandlers}
  • {include, InclDirs} — as --test-dir
  • {auto_compile, boolean()} — as false because ct needs beam files
  • {abort_if_missing_suites, boolean()} — as hardcoded true
  • {create_priv_dir, CreatePrivDir}
  • {multiply_timetraps, M}
  • {scale_timetraps, boolean()}
  • {repeat, N}
  • {duration, DurTime}
  • {until, StopTime}
  • {force_stop, ForceStop}
  • {decrypt, DecryptKeyOrFile}
  • {refresh_logs, LogDir}
  • {logopts, LogOpts}
  • {verbosity, VLevels} — as hardcoded 100
  • {basic_html, boolean()}
  • {esc_chars, boolean()}
  • {keep_logs, KeepSpec}
  • {ct_hooks, CTHs} — as provided by Enfiladex.Hooks
  • {enable_builtin_hooks, boolean()}
  • {release_shell, boolean()}

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

Callback implementation for Mix.Task.run/1.