Bats
Basic Acceptance Test Suite
![[object Object]](/bats/img/compare.png)
Automate Resource comparision
Bats was designed to allow you to automate comparision of values in config files likeXML
PROPERTIES
JSON
APACHE config
SHELL
![[object Object]](/bats/img/terminal.png)
Validate success/failure of shell commands
Bats lets you run shell commands on remote machines via ssh and verify whether ouput matches a given regex
![[object Object]](/bats/img/extract.png)
Extract values
Bats allows you to extract values of certain properties from one resource and compare them to values of different properties in another resource of same or different type
![[object Object]](/bats/img/change.png)
Dynamically define locations
Bats enables to dynamically define the properties and resource location
![[object Object]](/bats/img/logs.png)
Generate simplified or detailed logs
Bats allows to see simple or verbose logs
![[object Object]](/bats/img/cardinality.png)
Define complex flows
Define complex flows with ‘one-to-one’ or ‘one-to-many’ comparisons
![[object Object]](/bats/img/error.png)
Define custom behavior on error
Define custom behavior on error ‘FILE_NOT_FOUND’. For example should ‘FILE_NOT_FOUND’ fail validation or should it ignore and move on.