This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Run all tests:
bash test/test_modified_branch_files_test.sh
bash test/open_coverage_test.shRun coverage:
bashcov test/test_modified_branch_files_test.sh && bashcov test/open_coverage_test.shEnter dev environment with all dependencies (shunit2, bashcov, elixir):
nix developThis repository contains bash scripts that help with Elixir testing workflows:
test_modified_branch_files- Identifies modified.ex/.exsfiles in the current branch (compared to base branch) and runs corresponding tests. Transformslib/paths totest/paths with_test.exssuffix.open_coverage- Opens Elixir coverage HTML files. Accepts file paths or module names, handles both implementation and test files/modules.
Tests are written using shUnit2 (xUnit based unit testing framework for shell scripts). Coverage uses bashcov.