lib/PPUnit.js
function (options) {
    var self = this

    PPUnit.super_.call(self)

    options = options || {}
    self.concurrency = options.concurrency || -1

    self.rootSuite = new Suite(undefined)
    self.rootSuite.timeout(2000)
    self.rootSuite.globallyExclusive()
    self.rootSuite.locallyExclusiveTests()

    self.allTests = []
    self.failures = []
    self.tickId = 0

    self.stats = {
        suites: 0
      , tests: 0
      , skipped: 0
      , passes: 0
      , failures: 0
      , completed: 0
      , startTime: 0
      , maxConcurrency: 0
      , currentlyRunning: 0
      , end: undefined
      , duration: undefined
    }

    self._queue = []
    self._nextId = 1
    self._files = []
    self._bailing = false

    process.on('SIGINT', function () {
        self._bail()
    })
}
function (options) {
    var self = this

    PPUnit.super_.call(self)

    options = options || {}
    self.concurrency = options.concurrency || -1

    self.rootSuite = new Suite(undefined)
    self.rootSuite.timeout(2000)
    self.rootSuite.globallyExclusive()
    self.rootSuite.locallyExclusiveTests()

    self.allTests = []
    self.failures = []
    self.tickId = 0

    self.stats = {
        suites: 0
      , tests: 0
      , skipped: 0
      , passes: 0
      , failures: 0
      , completed: 0
      , startTime: 0
      , maxConcurrency: 0
      , currentlyRunning: 0
      , end: undefined
      , duration: undefined
    }

    self._queue = []
    self._nextId = 1
    self._files = []
    self._bailing = false

    process.on('SIGINT', function () {
        self._bail()
    })
}
function ( options ) { var self = this PPUnit . super_ . call ( self ) options = options || { } self . concurrency = options . concurrency || - 1 self . rootSuite = new Suite ( undefined ) self . rootSuite . timeout ( 2000 ) self . rootSuite . globallyExclusive ( ) self . rootSuite . locallyExclusiveTests ( ) self . allTests = [ ] self . failures = [ ] self . tickId = 0 self . stats = { suites : 0 , tests : 0 , skipped : 0 , passes : 0 , failures : 0 , completed : 0 , startTime : 0 , maxConcurrency : 0 , currentlyRunning : 0 , end : undefined , duration : undefined } self . _queue = [ ] self . _nextId = 1 self . _files = [ ] self . _bailing = false process . on ( 'SIGINT' , function ( ) { self . _bail ( ) } ) }
Creates a new PPUnit object

@constructor
Creates a new PPUnit object