Skipper.ESpec (skipper_espec v1.0.0)

Copy Markdown View Source

Skipper for ESpec. In spec/spec_helper.exs:

Skipper.ESpec.start()

and in each spec module, before use ESpec:

defmodule AuthSpec do
  use Skipper.ESpec
  use ESpec
  ...
end

Disabled examples are reported as pending with the Skipper reason. Test ID: spec/auth_spec.exs > describe > context > example.

Summary

Functions

Load the spreadsheet (see Skipper.start/1 for options) and register the end-of-run hook (report, and sync with SKIPPER_MODE=sync).

Skipper test ID of an ESpec.Example (the module-level context is left out).

Functions

start(opts \\ [])

Load the spreadsheet (see Skipper.start/1 for options) and register the end-of-run hook (report, and sync with SKIPPER_MODE=sync).

test_id(example)

Skipper test ID of an ESpec.Example (the module-level context is left out).