Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception : Failed to parse time string #16

Open
eXorus opened this issue Jul 29, 2014 · 2 comments
Open

Exception : Failed to parse time string #16

eXorus opened this issue Jul 29, 2014 · 2 comments
Labels

Comments

@eXorus
Copy link

eXorus commented Jul 29, 2014

I try to launch MutaTesting but it doesn't work :
php mutatesting.phar phpunit /home/xxx/php-mime-mail-parser/vendor/bin/phpunit /home/xxx/php-mime-mail-parser/test/eXorus/PhpMimeMailParser/ --report-html=/home/xxx/php-mime-mail-parser/file.html --options="-c phpunit.xml"
Mutation testing tool for PHP, by Jean-François Lépine http://www.lepine.pro

Executing test suite...
5 tests executed (1520 assertions)
OK
Extracting tested files...

...

[Exception]
DateTime::__construct(): Failed to parse time string (1406641396) at position 8 (9): Unexpected character

mutate [--options="..."] [--processes="..."] [-rt|--report-text[="..."]] [-rh|--report-html[="..."]] [-bl|--bugs[="..."]] tool binary path

@Halleck45 Halleck45 added the bug label Jul 29, 2014
@Halleck45
Copy link
Owner

Can you copy paste the details of exception please ?

@vonglasow
Copy link

Hello, I have the same error on my tests with

$ ../muta/vendor/bin/mutatesting phpunit ./vendor/bin/phpunit tests/phpunit -v
Mutation testing tool for PHP, by Jean-François Lépine <http://www.lepine.pro>

Executing test suite...
  4 tests executed (43 assertions)
  OK
Extracting tested files...

...

  [Exception]                                                                                                
  DateTime::__construct(): Failed to parse time string (1469203341) at position 7 (3): Unexpected character  


Exception trace:
 () at /var/www/dev/muta/vendor/halleck45/mutatesting/src/Hal/MutaTesting/Cache/UnitInfo.php:42
 DateTime->__construct() at /var/www/dev/muta/vendor/halleck45/mutatesting/src/Hal/MutaTesting/Cache/UnitInfo.php:42
 Hal\MutaTesting\Cache\UnitInfo->has() at /var/www/dev/muta/vendor/halleck45/mutatesting/src/Hal/MutaTesting/Command/RunMutatingCommand.php:130
 Hal\MutaTesting\Command\RunMutatingCommand->execute() at /var/www/dev/muta/vendor/symfony/console/Command/Command.php:259
 Symfony\Component\Console\Command\Command->run() at /var/www/dev/muta/vendor/symfony/console/Application.php:844
 Symfony\Component\Console\Application->doRunCommand() at /var/www/dev/muta/vendor/symfony/console/Application.php:192
 Symfony\Component\Console\Application->doRun() at /var/www/dev/muta/vendor/symfony/console/Application.php:123
 Symfony\Component\Console\Application->run() at /var/www/dev/muta/vendor/halleck45/mutatesting/bin/mutatesting:24

mutate [--options OPTIONS] [--processes PROCESSES] [-rt|--report-text [REPORT-TEXT]] [-rh|--report-html [REPORT-HTML]] [-bl|--bugs [BUGS]] [--] <tool> <binary> <path>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants