Skip to main content

https://github.com/LimaBD/batspp/releases/latest License: LGPLv3 Python: >=3.8 tests

BATSPP

Shell style tests using bats-core framework

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

The goal of Batspp to allow writing shell style tests with an simple and a less idiosyncratic syntax.

#!/usr/bin/env batspp

# Test example with multiple assertions
$ filepath=$(echo $TMP/testfile-"$$")
$ echo -e "in this test\nwe are using\nmultiple assertions" | sudo tee $filepath
$ cat $filepath | wc -l
3
$ cat $filepath | wc -c
46

Batspp grew out of work for Thomas O'Hara on shell-scripts and mezcla.

Docs

License

Batspp is released under an GNU Lesser General Public License Version 3, see LICENSE.TXT for details.

Metadata

Release files for batspp 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for batspp 2.2.0
File Interpreter ABI Platform
batspp-2.2.0-py3-none-any.whl Python 3 none any Details

Release files / batspp-2.2.0-py3-none-any.whl

Download URL batspp-2.2.0-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af131980ec32a6529c45bb807623ec953a2aa956f0e3ec2b647fb4ad81f9a9cb
BLAKE2b-256 checksum
How to use checksums
4ba1ef82f5a58a6fbe4ed90bc2fbfd3fc4fb534f3e0c78b4a24ad323053cb3c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

2.2.0 This release

1 release file

2.1.7

1 release file

2.1.6

1 release file

2.1.5

1 release file

2.1.4

1 release file

2.1.3

1 release file

2.1.2

1 release file

2.1.1

1 release file

2.1.0

1 release file

2.0.1

2 release files

2.0.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page