bats icon indicating copy to clipboard operation
bats copied to clipboard

bats interpreter always shows usage

Open pramaku opened this issue 7 years ago • 1 comments

the main bats interpreter in the install directory always shows usage Reason: it is not passing arguments to the actual bats file in the libexec directory. install/bin$ bats sample.bats Bats 0.4.0 Usage: bats [-c] [-p | -t] [ ...]

It should pass the arguments to the libexec/bats, something like '../libexec/bats $@'

pramaku avatar Feb 01 '17 06:02 pramaku

This is an issue with a symbolic link not be properly placed. The bin/bats file should be a symlink, but I found that if you unpack the .zip file with source from the repo you will not actually have a symlink there.

szaydel avatar Nov 24 '17 15:11 szaydel