< Home - < Back

bats


Information about the package, bats, which is shipped with common Linux distributions. The bats package is designed for, Bash Automated Testing System.


Package Name:

bats

Summary:

Bash Automated Testing System

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. Bats is most useful when testing software written in Bash, but you can use it to test any UNIX program.

Architecture:

noarch

Version:

0.4.0

Release:

1.20141016git3b33a5a.el6

Size:

17 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for bats


Control the bats package with the following handy commands outlined below.


Command

Description of Command

yum install bats

This command will install bats on the server.

yum remove bats

This command will un-install bats on the server. When you run this command, you will be asked if you are sure that you want to remove bats, so you have to manually confirm that you want to do this.

yum -y remove bats

This command will un-install bats on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove bats when using the -y flag.

yum update bats

This command will update bats to the latest version. When you run this command, you will be asked if you are sure that you want to remove bats, so you have to manually confirm that you want to do this.

yum -y update bats

This command will update bats to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove bats when using the -y flag.

yum info bats

This command will show you core information about the bats package.

yum deplist bats

This command will show you the dependencies for bats. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update bats

This command will check if there is an update waiting on bats. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.