You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
Since bashellite is written using a hybrid of declarative/functional programming paradigms, it lacks the ability to easily integrate and write unit tests.
Proposed solution to correct this is three fold:
Rewrite each individual function/subroutine to set local variables only and echo one return value per function. Ensure all code lives in a function. Ensure global variables are limited to read-only constants.
Rewrite the main function to store and pipe output from one function to another.
Source bash-test or assert.sh and write tests for each isolated function.
The text was updated successfully, but these errors were encountered:
Since bashellite is written using a hybrid of declarative/functional programming paradigms, it lacks the ability to easily integrate and write unit tests.
Proposed solution to correct this is three fold:
The text was updated successfully, but these errors were encountered: