DEV Community

Discussion on: Howto write enterprise-grade shell scripts

Collapse
 
thbe profile image
thbe

I recommend proper testing, but how it is achieved depends on your environment. Especially in large enterprises when talking about development, it’s a talk about „real“ developers like the ones building a JAVA app or C++ app or something like this. This also means that the environment focus on those developments. Having this said, I recommend to hijack these existing environments. If they use GIT, use GIT as well. If they use an IDE, use the IDE as well. If they use a CI/ CD, guess what. So, I recommend linter, templates, automated testing, VCS, DevOps and much more but not everything can be implemented if the environment is restricted. In the end, use what is possible and if BATS fit into your environment, you can use BATS as well.