I'm trying to run CLI by following the documentation but it throws me errors and there's no way.
I am located in the main root of my project, one empty with a couple of methods in welcome.php and connection to a database.
The minimum previous configuration I have is:
$autoload['libraries'] = array('database');
$config['uri_protocol'] = isset($_SERVER['REQUEST_URI']) ? 'PATH_INFO' : 'CLI';
Function that I call:
public function test_country($country)
{
$this->load->library('unit_test');
$actual = $country;
$expected = 'Japan';
$name = 'Existe pais recibido';
$this->unit->run($actual, $expected, $name);
echo $this->unit->report().PHP_EOL;
die();
}