runner icon indicating copy to clipboard operation
runner copied to clipboard

Add Bash Testing Framework (Bats) Support

Open jhoffner opened this issue 11 years ago • 3 comments

https://github.com/sstephenson/bats

jhoffner avatar Aug 15 '14 16:08 jhoffner

I saw this the other day, couldn't figure out how to load an external script in it...

xcthulhu avatar Aug 15 '14 16:08 xcthulhu

Nevermind, didn't Gandalf the source code hard enough...

https://github.com/sstephenson/bats/blob/master/test/fixtures/bats/load.bats

xcthulhu avatar Aug 15 '14 16:08 xcthulhu

Is it possible to add another testing framework for bash to code wars? I was looking at this comparison and it seems that shellspec is the most up to date unit testing framework for bash. Let me know what you think! I also heard about bats, but according to the comparison graph on the page shellspec has way more functionality.

saladuit avatar Jun 07 '22 10:06 saladuit