Esempio n. 1
0
 public function test()
 {
     $runner = KmsCi_Bootstrap::getRunner();
     /** @var KmsCi_Environment_PhpHelper $phpHelper */
     $phpHelper = $runner->getEnvironment()->getHelper('php');
     $this->assertEquals('FOO!', $phpHelper->phpunitGetParam('param1'));
     $this->assertEquals('BAR', $runner->getConfig('FOO'));
     $this->assertTrue($runner->isArg('FOO'));
     $this->assertEquals('BAR', $runner->getArg('FOO'));
     $integration = KmsCi_Bootstrap::getIntegration($runner);
     $this->assertEquals($phpHelper->phpunitGetParam('integId'), $integration->getIntegrationId());
     $this->assertEquals($phpHelper->phpunitGetParam('integPath'), $integration->getIntegrationPath());
     $this->assertEquals($phpHelper->phpunitGetParam('integOutput'), $integration->getOutputPath());
 }
Esempio n. 2
0
 /**
  * @return KmsCi_Runner_IntegrationTest_Base
  */
 protected function _integration()
 {
     return KmsCi_Bootstrap::getIntegration($this->_runner());
 }