             throw e unless test.throws
 
           if test.dump
-            console.log JSON.stringify(sample, null, 2)
+            console.log 'IN', JSON.stringify(schema, null, 2)
+            console.log 'OUT', JSON.stringify(sample, null, 2)
             return
 
           if test.hasNot

require('./helpers')

fs = require('fs')
glob = require('glob')
jsfaker = require('../')

  obj = obj[parts.shift()] while parts.length
  obj

glob.sync("#{__dirname}/**/*.json").forEach (file) ->
  suite = JSON.parse(fs.readFileSync(file))

  (if Array.isArray(suite) then suite else [suite]).forEach (suite) ->
    return if suite.xdescription

    describe "#{suite.description} (#{file.replace(__dirname + '/', '')})", ->
      beforeEach ->
        jasmine.addMatchers(customMatchers)

      suite.tests.forEach (test) ->
        return if test.xdescription

