i'm a newbie in fuelphp, i want to setup and use phpunit to test my code.
when i try to :
$php oil test
it will show the message like this:
Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/unishelf-webkeys.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/unishelf-web/config.php on line 3
Fatal error: require_once(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/unishelf-webkeys.php' (include_path='.:') in /Applications/XAMPP/xamppfiles/htdocs/unishelf-web/config.php on line 3
i also try another way, like i upgrade my composer. i add this code to my composer.json and then update it,
{
"require": {
"aws/aws-sdk-php": "2.*",
"squizlabs/php_codesniffer": "1.*"
},
"require-dev": {
"phpunit/phpunit": "3.7.14"
},
"autoload": {
"psr-0": {
"phpUnitTutorial": ""
}
}
}
and after that type command like this below, but still got error with class input.