Alex\BehatLauncher\Behat\RunUnitList::countPending PHP Method

countPending() public method

public countPending ( ) : integer
return integer
    public function countPending()
    {
        $count = 0;
        foreach ($this->all() as $one) {
            if ($one->isPending()) {
                $count++;
            }
        }
        return $count;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @return integer
  */
 public function countPending()
 {
     return $this->units->countPending();
 }