0

At work, we already have a custom script to perform regressions for us. I have been tasked with the creation of a wrapper script which will ultimately invoke our pre existing script in a custom fashion and do a bunch of house keeping in and around the executed tests. Essentially what I need to provide are:

  1. Ability to invoke simulation using custom switches, paths etc
  2. Provide some form of regression tracking (history of pass fail)
  3. Some form of basic web interface to view regression results
  4. Perhaps an automated email if something breaks

Now nothing I have mentioned is new and I am sure there are a lot of ways to approach this.

What I am looking for is some suggestions as to a good way to go about this.

Some solutions that come to mind:

  1. Build custom python script (most effort)
  2. Extend python's built in Unit Testing framework. Subclass where necessary. This is really the crux of my question. Is this a good solution?

  3. Use some other framework? Jenkins? I have not used jenkins but I've heard good things about this tool. Any thoughts on if this tool would suit here?

Thanks for your help!

Some of you may ask why I don't extend the base simulation script directly. Well, it's a few thousand line Perl monster! I don't speak Perl, nor do I have any intention to start!

Gregory Kuhn
  • 1,627
  • 2
  • 22
  • 34
  • Perhaps not appropriate, but would something like [Jenkins](https://jenkins-ci.org/) work? It's open source, is specifically designed to run tests and store/display regression results and takes about 5 minutes to get running – Andrew Walker Jul 20 '15 at 09:49
  • Hi Andrew, Thanks for the suggestion. I had mentioned it in my initial question so I am aware of the software. However, I am not familiar with it so I wasn't sure if it was suitable for this application. Your suggestion does suggest it's suitability so I will investigate it further. Thanks. – Gregory Kuhn Jul 20 '15 at 09:50
  • Yeah, jenkins sounds like it would be a perfect fit – Andrew Walker Jul 20 '15 at 09:51

0 Answers0