News for hackers. Stuff that matters.
Re:Shpec -- rspec like testing for shell scripts by dhamidi on Thursday December 12, 2013 @05:43AM (#6893774)
Example test: https://github.com/dhamidi/shtuc/blob/master/t/shtuc-get-shp...

Here is an excerpt:

  describe 'the requested file exists'
    it 'outputs the contents of a non-executable'
      expect "$(shtuc-get shtuc-find-test)" to = success
    end
  end
Re:Shpec -- rspec like testing for shell scripts by tdgs on Thursday December 12, 2013 @04:50AM (#6893663)
Worths a look if you are writing shell scripts. Really nice!