2013-03-15 19:09:56 +04:00
|
|
|
require 'window'
|
2012-08-28 02:36:36 +04:00
|
|
|
|
2013-03-15 19:09:56 +04:00
|
|
|
measure 'spec suite require time', ->
|
2013-04-03 22:01:01 +04:00
|
|
|
fsUtils = require 'fs-utils'
|
2013-03-15 19:09:56 +04:00
|
|
|
require 'spec-helper'
|
2012-10-25 22:45:58 +04:00
|
|
|
|
2013-03-15 19:09:56 +04:00
|
|
|
# Run core specs
|
2013-04-03 22:01:01 +04:00
|
|
|
for path in fsUtils.listTree(fsUtils.resolveOnLoadPath("spec")) when /-spec\.coffee$/.test path
|
2013-03-15 19:09:56 +04:00
|
|
|
require path
|
|
|
|
|
|
|
|
# Run extension specs
|
|
|
|
for packageDirPath in config.packageDirPaths
|
2013-04-03 22:01:01 +04:00
|
|
|
for packagePath in fsUtils.list(packageDirPath)
|
|
|
|
for path in fsUtils.listTree(fsUtils.join(packagePath, "spec")) when /-spec\.coffee$/.test path
|
2013-03-15 19:09:56 +04:00
|
|
|
require path
|