public function NodeImportTestCase::debug in Node import 6
Output variable in test results.
Parameters
...: Variables to dump.
Return value
Nothing.
File
- tests/
NodeImportTestCase.php, line 30 - DrupalWebTestCase wrapper with some extra functions to ease the development of node_import tests.
Class
- NodeImportTestCase
- @file DrupalWebTestCase wrapper with some extra functions to ease the development of node_import tests.
Code
public function debug() {
$vars = func_get_args();
foreach ($vars as $var) {
$this
->fail("<pre>" . print_r($var, TRUE) . "</pre>", 'Debug');
}
}