rcasia / neotest-bash

Neotest adapter for Bash.
MIT License
17 stars 0 forks source link

add option to set the location of the bashunit binary #14

Open rcasia opened 9 months ago

rcasia commented 9 months ago

For now, the plugin assumes that the location of the binary is ./lib/bashunit. But it is posible to have the binary avaliable in $PATH or other user-defined location.

It would be better let the user define it as here:

require("neotest").setup({
  adapters = {
    require("neotest-bash")({
      executable = "path/to/bashunit/executable"
    })
  }
})
meleu-cw commented 4 months ago

Wow! I spent a good amount of time being frustrated thinking this plugins wasn't working and came here to open an issue when I saw this one and learned that it expects bashunit binary to be in ./lib/...

Please, consider putting this information in the README.

rcasia commented 4 months ago

Just merged! Sorry for the inconvenience @meleu-cw :sweat_smile: