CheckEscript.ModifiedTests (AlCheck v0.1.9)

View Source

Detects modified tests on the current branch vs base branch.

  • If setup/setup_all/describe changed → runs the whole file
  • Otherwise → runs only the specific modified test lines

Summary

Functions

find_enclosing_test(lines, line_num)

find_test_lines(file, changed_lines)

run(test_opts \\ %{})

setup_or_describe_changed?(file, changed_lines)