Bats: Bash Automated Testing System

Bash 自动化测试系统。(Bash Automated Testing System)

  • Owner: sstephenson/bats
  • Platform: BSD, Linux, Mac, Solaris, Unix-like
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Bats: Bash Automated Testing System

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.

#!/usr/bin/env bats

@test "addition using bc" {
  result="$(echo 2+2

Main metrics

Overview
Name With Ownersstephenson/bats
Primary LanguageShell
Program languageShell (Language Count: 1)
PlatformBSD, Linux, Mac, Solaris, Unix-like
License:MIT License
所有者活动
Created At2011-12-28 18:40:33
Pushed At2019-09-27 17:21:43
Last Commit At2016-02-19 12:28:02
Release Count5
Last Release Namev0.4.0 (Posted on )
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count7.1k
Watchers Count178
Fork Count517
Commits Count113
Has Issues Enabled
Issues Count171
Issue Open Count91
Pull Requests Count18
Pull Requests Open Count44
Pull Requests Close Count43
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private