Skip to content

Instantly share code, notes, and snippets.

View mantoni's full-sized avatar
💭
Amending fixup commits

Maximilian Antoni mantoni

💭
Amending fixup commits
View GitHub Profile
@mantoni
mantoni / test.sh
Last active February 9, 2024 15:00
Minimal bash unit testing framework
#!/bin/bash
#
# Copyright (c) 2013 Maximilian Antoni
#
export TEST_COLOR_GREEN="\033[1m\033[32m"
export TEST_COLOR_RED="\033[1m\033[31m"
export TEST_COLOR_TITLE="\033[1m\033[36m"
export TEST_COLOR_OFF="\033[0m"
export TEST_SPACES=" "
export TEST_LINE="-----------------------------------------------------"