rvagg/workshopper-exercise — pull request #6 by timoxley (2014-02-09 01:21:48+00:00)
Title: Require modules as exercises.

Example Usage:

```js
var lorem = require('lorem-ipsum')
var exercise = require('workshopper-exercise')()
var assert = require('assert')
var path = require('path')

exercise = require('workshopper-boilerplate')(exercise)
exercise = require('workshopper-exercise/require')(exercise)

exercise.addBoilerplate(require.resolve('./boilerplate/hello_world.js'))

exercise.addSetup(function(mode, cb) {
exercise.submissionArgs = exercise.solutionArgs = lorem().split(' ')
cb()
})

module.exports = exercise
```