batch automation tools
I'm looking for a open source batch automation tool. Can someone point me in the right direction?
Can you give us a bit more of an idea what you are looking for?
Originally Posted by Augus
Presumably you want something other than just using a .cmd file?
Depends on how much you want to do.
For most things (running a bunch of commands with given parameters) I'd probably recommend an open source "build automation" tool, like Ant or Maven. They're basically a way for you to create tasks in a OS agnostic way. This is good for making your scripts runnable on any OS platform that have those tools installed.
I've used Ant and Maven, but there are others. Ant I like the simplicity, Maven I like for it's dependency management ability.
I am looking to see if there a tool such as Selenium ( web front end testing) but for testing back end processes such as file content, querying db, running or stopping control-m jobs. I am able to get by currently using shell script yet management is not happy with shell script and are looking to a more integrated test framework
Any ideas ?
Hmm.. I haven't really dealt with testing shell scripts. I think your approach will do the job. Only thing I can think off off the bat is maybe hooking in some integration to a TCM or another Unit testing framework to generate pretty reports of your higher ups.
I created an infrastructure using Perl to do these things. There are IBM-related Perl Modules available that will allow you to deal with EBCDIC files, process COMP fields, etc. Perl can invoke FTP, can read in XML (I convert Copybooks to XML with a tool I found on the web), do in-file data validations, cross-file comparisons very quickly. I've put this capability behind a web interface (using Perl CGI) so that the user need only select the context (files as a result from batch), process, and then report right their in their browser (with optional download; Perl can do Excel, too). Perl can also run batch jobs using FTP.
I have seen Perl code on HP's forum website showing how to use the Quality Center API for integration with QC/ALM.
So, while Perl's not for everyone and it is not an integrated test tool in of itself, it is very powerful, has many supported Perl Modules that allow you to quickly put together what you want to do.
Let us know what you end up doing so we can all hear how it goes. Thanks for your question.
Tags for this Thread