Please login to access the resource

Bash Automated Testing System

Edit Package bats
https://github.com/bats-core/bats-core#readme

Bats is a TAP-compliant (http://testanything.org/) 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.

Bats is most useful when testing software written in Bash, but you can use it to test any UNIX program.

Refresh
Refresh
Source Files
Filename Size Changed
bats-core-1.8.2.tar.gz 0000143952 141 KB
bats.changes 0000011375 11.1 KB
bats.spec 0000002203 2.15 KB
Revision 31 (latest revision is 38)
Olav Reinert's avatar Olav Reinert (oreinert) accepted request 1034464 from Andrea Manzini's avatar Andrea Manzini (amanzini) (revision 31)
- Update to version 1.8.2:
  * fix non zero return code on successful retried tests
  * avoid kernel warning flood/hang with CTRL+C on Bash 5.2 RC
  * Fix infinite wait with (invalid) -j<n> (without space) 
  * using external formatters via --formatter <absolute path> (also works for --report-formatter)
  * running only tests that failed in the last run via --filter-status failed
  * variable BATS_TEST_RETRIES that specifies how often a test should be reattempted before it is considered failed
  * BATS_TEST_TIMEOUT variable to force a timeout on test (including setup())
  * test_tags=<tag list>/# bats file_tags=<tag list> and --filter-tags <tag list> for tagging tests 
  * add documentation for bats_require_minimum_version, setup_suite, fix typos
  * improve documentation about setup_suite
  * allow --gather-test-outputs-in <directory> to work with existing, empty directories
  * fix load in teardown marking failed tests as not run
  * add /usr/lib/bats as default value for BATS_LIB_PATH
  * fix unset variable in bats-formatter-junit when setup_file fails
  * unify error behavior of teardown/teardown_file/teardown_suite functions: only fail via return code, not via ERREXIT
  * only print setup_suite's stderr on errors
Comments 0
openSUSE Build Service is sponsored by