bats-mode icon indicating copy to clipboard operation
bats-mode copied to clipboard

Remove TRAMP's prefix when running tests

Open MasWag opened this issue 1 year ago • 0 comments

This update allows bats-mode to run tests on remote files accessed via TRAMP. I manually tested and confirmed that Bats runs over SSH using TRAMP.

Changes:

  • Added bats-remove-tramp-prefix to handle TRAMP file paths in bats-mode, enabling remote test execution.
  • Modified bats-run and bats-run-current-test to utilize this function, ensuring compatibility with TRAMP.

MasWag avatar Feb 15 '24 07:02 MasWag