Skip to content

Commit 2c74593

Browse files
committed
Added debugContent method
1 parent 9d06d86 commit 2c74593

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Codeception/Module/Nette.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ protected function validateConfig()
5252
Validators::assertField($this->config, 'robotLoader', 'array');
5353
}
5454

55+
// TODO: separate RobotLoader extension
5556
public function _beforeSuite($settings = array())
5657
{
5758
parent::_beforeSuite($settings);
@@ -124,6 +125,12 @@ public function grabService($service)
124125
}
125126
}
126127

128+
// TODO: move to separate ArachneTools extension
129+
public function debugContent()
130+
{
131+
$this->debugSection('Content', $this->client->getInternalResponse()->getContent());
132+
}
133+
127134
private function detectSuiteName($settings)
128135
{
129136
if (!isset($settings['path'])) {

0 commit comments

Comments
 (0)