JustBash.SpecTest.Runner (JustBash v0.4.0)

View Source

Runs Oils spec tests against JustBash and reports results.

Summary

Functions

Print a summary of test results.

Run all test cases from a spec file.

Run a single test case.

Run a list of test cases.

Generate a summary of test results.

Functions

run_file(path, opts \\ [])

@spec run_file(
  String.t(),
  keyword()
) :: [JustBash.SpecTest.Runner.Result.t()]

Run all test cases from a spec file.

run_test_case(tc, opts)

Run a single test case.

run_test_cases(test_cases, opts \\ [])

Run a list of test cases.

summary(results)

@spec summary([JustBash.SpecTest.Runner.Result.t()]) :: map()

Generate a summary of test results.