Namshi\AB\Test::run PHP Method

run() public method

Runs the test.
public run ( )
    public function run()
    {
        if (!$this->count()) {
            throw new BadMethodCallException(self::ERROR_TEST_RAN_WITHOUT_VARIATIONS);
        }
        $this->hasRun(true);
        $this->calculateVariation();
    }