We are talking about unit testing in the bash C source code, not bash scripts.

On Thu, Dec 27, 2018 at 8:03 PM G. Branden Robinson
<g.branden.robin...@gmail.com> wrote:
>
> At 2018-12-27T17:34:49-0800, Eduardo Bustamante wrote:
> > On Thu, Dec 27, 2018 at 5:15 PM Peng Yu <pengyu...@gmail.com> wrote:
> > (...)
> > > Since the main() function is already there, why there is not already
> > > an easy way to compile it? How do you do unit-testing then for the
> > > code?
> >
> > This is very easy to figure out from the source code, right :)?
> >
> > (Hint: there is no "unit" testing in bash)
>
> Au contraire!  :-D
>
> https://github.com/kward/shunit2
>
> Regards,
> Branden



-- 
Regards,
Peng

Reply via email to