BSD Ports

wip/bats-core 1.14.0 NetBSD

Bash Automated Testing System

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Last update
Commit
5b8cebd22e
License
mit
Categories
wip, devel

Description

Bats is a TAP-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected.

A Bats test file is a Bash script with special syntax for defining test cases. Under the hood, each test case is just a function with a description.

In the other systems

SystemPortVersion
NetBSDwip/bats-core1.14.0
FreeBSDdevel/bats-core1.13.0
DragonFlydevel/bats-core1.11.1
MidnightBSDdevel/bats-core1.13.0
HardenedBSDdevel/bats-core1.13.0
GhostBSDdevel/bats-core1.13.0

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/bats-core && make install clean

Dependencies

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
5b8cebd22e Iku Iwasa bats-core: update to 1.14.0
Added: * --errexit flag to enable errexit (set -e) behavior for commands run in run * pretty formatter: add non-interactive, color-only mode for CI environments Fixed: * junit formatter: * avoid interference between env and internals * remove control characters (\x00-\x08\x0B\x0C\x0E-\x1F) * don't report (skipped) last test as failed when teardown_suite generates FD3 output * fix(junit-formatter): skipped tests outputs reported as * fix failures with --gather-test-outputs-in when tests change directory * run now honors set -e in your functions * ATTENTION: In previous versions this was suppressed unintentionally. While it might constitute a breaking change for some, we decided the new behavior should be the default because it might uncover hidden errors. …