Giter Site home page Giter Site logo

shelltest's Introduction

shelltest

A test runner for POSIX shells

Features

  • POSIX compliant
  • No eval
  • Uses only builtins
  • Perform tests with [, etc.
  • TAPS output
  • setup, setup_file, teardown, teardown_file
  • Utility functions t_is_function, t_get_shell_version, t_assert

Tested on

  • sh
  • BusyBox sh
  • ash
  • dash (Debian variant of NetBSD ash)
  • yash
  • oil
  • nsh
  • bash
  • zsh
  • ksh (2020.0.0)
  • pdksh
  • mksh (MirBSD fork of OpenBSD pdksh)
  • loksh (Linux port of OpenBSD pdksh)
  • oksh (General port of OpenBSD pdksh)

More rigorous test suite coming soon...

Installation

Use Basalt, a Bash package manager, to install this project globally

basalt global add hyperupcall/shelltest

Usage

shelltest ./tests

shelltest's People

Contributors

hyperupcall avatar

Stargazers

 avatar  avatar

Watchers

 avatar

shelltest's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.