title: Is there a standard way to test scripts/executables in Jenkins?
body: <p>We have a project that contains a library of Python and Scala packages, as well as Bourne, Python and Perl executable scripts.  Although the library has good test coverage, we don't have any tests on the scripts.</p>
  
  <p>The current testing environment uses Jenkins, Python, virtualenv, nose, Scala, and sbt.</p>
  
  <p>Is there a standard/common way to incorporate testing of scripts in Jenkins?</p>
  
  <hr>
  
  <p>Edit: I'm hoping for something simple like Python's unittest for shell scripts, like this:</p>
  
  <pre><code>assertEquals expected.txt commandline
  assertError commandline --bogus
  assertStatus 11 commandline baddata.in
  </code></pre>