       # yadda = Yadda.createInstance libraries.concat(steps), context
       yadda = Yadda.createInstance libraries, context
 
-      @processHook feature, yadda, context
+      @processHook feature, yadda, context, aLang
       # add the describe to each scenario
       scenarios feature.scenarios, (scenario)->
         # add the it to each step

      , aLangName
      , /^([^\.\-].*)[\-\.]lib[s]?\.(js|coffee)$/

  # before/after, beforeEach/afterEach
  processHook: (aFeature, yadda, context)->
    yaddaRun = Promise.promisify(yadda.run)
    vHooks =
      before: []

#       i++
#   return this

has_annotation = (annotations, name, language)->
  try name = language.localise(name)
  regexp = new RegExp('^' + name + '$', 'i')
  result = false
  for k,v of annotations
    result = regexp.test(k) and v
    break if result
  # console.log 'has_annotation', name, annotations, result
  result

resolveDirFromRoot = (aDir, aRootDir)->
  if isArray aDir
    aDir = for v in aDir
