rigger icon indicating copy to clipboard operation
rigger copied to clipboard

Consider BATS for tests

Open helgi opened this issue 10 years ago • 3 comments

If the intent is to stick with shell then it could be interesting to look at https://github.com/sstephenson/bats for tests to reduce the need for basic scaffolding on the test suite of the world

helgi avatar Sep 09 '15 18:09 helgi

I currently am using roundup (built in with Rerun). I'd probably want to move support for BATS into rerun itself if I did this... thoughts?

sgoings avatar Sep 09 '15 18:09 sgoings

Hmm I'd have to look at roundup more, I have a brief look at the rigger tests but didn't notice it was using that. Guess it depends if we feel it adds anything above and beyond roundup :)

I've used BATS extensively with Chef (mostly Test Kitchen) and it works out pretty well (not that I'd use it again for a configuration management tool specifically) and it added ton of boilerplate that was useful in Shell type setups.

helgi avatar Sep 09 '15 18:09 helgi

See: https://github.com/rerun/rerun/issues/216

sgoings avatar Sep 09 '15 21:09 sgoings