pho\Runner\Runner::xit PHP Method

xit() public method

Constructs a new Spec, adding it to the list of specs in the current suite and mark it as pending.
public xit ( string $title, Closure $closure = null )
$title string A title to be associated with the spec
$closure Closure The closure to invoke when the spec is ran
    public function xit($title, \Closure $closure = null)
    {
        $spec = new Spec($title, $closure, $this->current);
        $spec->setPending();
        $this->current->addSpec($spec);
    }