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

Common filesystem assertions for Bats

Results 16 bats-file issues
Sort by recently updated
recently updated
newest added

Copy the arguments from the bats-core install.sh so that bats libraries can be packaged in the same manner as bats-core.

Hi, I guess it's a minor issue, but the [shields.io](https://img.shields.io/github/package-json/v/bats-core/bats-file.svg) is wrong and point to a `0.2.0` while the curent version is `0.4.0`. I assume it's due to the fact...

According to https://www.npmjs.com/package/bats-file: > Security holding package > This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure...

Not sure how bats extensions are supposed to be installed in bats eco-system. bats-core has multiple mechanisms documented: - https://github.com/bats-core/bats-core#installation but nothing in their readme how to install other adds-ons:...

relates to #27 produces ``` fallocate: cannot open /dir/notzerobyte: No such file or directory ``` https://github.com/bats-core/bats-file/blob/master/src/file.bash#L919

OS: MacOS 11.6.1 Bash: 5.1.12(1) (from MacPorts) Bats: da56a30 (2022-01-05) Bats-File: 17fa557 (2020-04-29) This one took me hours to come up with a reproducible example; I didn't also have the...

While I was looking into CI outputs, there was printed lines for the version of the `shellcheck`. However, while I was looking into `.bash` files I noticed some anti-patterns such...

- assert_file_owner to test if a user is owner of a file - assert_file_permission to test permissions set on a file - assert_not_zero if a file is greater 0 byte...

enhancement

compare if two files are the same with `cmp --silent`

enhancement