[openstack-dev] [Fuel] Introducing bash unit testing

Bartlomiej Piotrowski bpiotrowski at mirantis.com
Thu Jul 9 08:43:19 UTC 2015


On Thu, Jul 9, 2015 at 10:27 AM, Oleg Gelbukh <ogelbukh at mirantis.com> wrote:

> I am one hundred percent support this proposal.
>
> Just to clarify, did you consider shunit2
> <https://github.com/kward/shunit2/> [1 <https://github.com/kward/shunit2/>]
> as a unittest framework for Bash? It seems a little bit closer to shell
> scripting itself, so you don't need to learn another syntax to write
> unittests.
>
> --
> Best regards,
> Oleg Gelbukh
>

I did and BATS simply looked fancier to me. Additionally it has more
external
(as in: not the project maintainer) contributions and last commit is dated
2015-02-25 vs shunit2's 2013-05-20.

Either way it's still bash, but with syntax sugar for running tests.

BP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150709/644d9153/attachment.html>


More information about the OpenStack-dev mailing list