[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1029723: ITP: bats-file -- Helper library providing filesystem-related assertions for Bats



Package: wnpp
Severity: wishlist
Owner: Gioele Barabucci <gioele@svario.it>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name    : bats-file
  Version         : 0.3.0
* URL             : https://github.com/bats-core/bats-file
* License         : CC0
  Programming Lang: Bash
Description : Helper library providing filesystem-related assertions for Bats

bats-file provides various assertions and helpers to simplify writing Bats tests that deal with files and filesystems.

For example:

* assert_file_contains: Check if the file content matches a regex.
* assert_file_owner: Check if a specific user owns the file.
* assert_symlink_to: Check if the file is a symlink to the target.
* temp_make: Create a temp directory for the current test in BATS_TMPDIR.

--
Gioele Barabucci


Reply to: