ParaTest\Runners\PHPUnit\Runner::initTokens PHP Method

initTokens() protected method

Initialize the available test tokens based on how many processes ParaTest will be run in
protected initTokens ( )
    protected function initTokens()
    {
        $this->tokens = array();
        for ($i = 0; $i < $this->options->processes; $i++) {
            $this->tokens[$i] = array('token' => $i, 'unique' => uniqid($i), 'available' => true);
        }
    }