GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gerhard/bash: How to write good bash code using TDD

This repository was archived by the owner on Dec 2, 2019. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
script
script
 
 
test
test
 
 
.envrc
.envrc
 
 
README.md
README.md
 
 

Repository files navigation

TDD Bash

Even though shell scripting was present in every development team that I have worked in, it was almost never tested. Over time, everyone becomes afraid to change code without tests because it might break. This fear grows proportionally with the importance of the code.

This repository is meant to capture the mechanics and reasoning behind test-driven bash code. It also conveys the process behind evolving a good bash codebase.

How to write good bash code?

  1. Understand the bash pitfalls
  2. Use shellcheck
  3. Emphasise on functional code
  4. Discover the simplest concepts
  5. Explore their optimal composition
  6. Use containers for integration testing
  7. Stop when the fun stops

About

How to write good bash code using TDD

Resources

Readme
Activity

Stars

17 stars

Watchers

0 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.