Testing bash scripts

Posted by nimcap on Stack Overflow See other posts from Stack Overflow or by nimcap
Published on 2009-08-27T07:33:47Z Indexed on 2010/05/05 7:38 UTC
Read the original article Hit count: 370

We have a system that has some bash scripts running besides Java code. Since we are trying to "Test Everything That Could Possibly Break" and those bash scripts may break, we want to test them. The problem is it is hard to test the scripts.

Is there a way or a best practice to test bash scripts? Or should we quit using bash scripts and look for alternative solutions that are testable?

© Stack Overflow or respective owner

Related posts about testing

Related posts about extreme-programming