Welcome Guest, Not a member yet? Register   Sign In
ci-phpunit-test for CodeIgniter 3.0
#68

(10-25-2016, 05:52 AM)bvrignaud Wrote: Hello,

I'm trying your tests solutions. But it doesn't work on my system.

I'm on linux, it's look like I have a too old versionof phpunit (4.2.6), so I obtain this message : Class 'PHP_Token_Stream' not found.

I'm trying composer to use a newer phpunit :
Code:
[...]
"require": {
   },
   "require-dev": {
        "phpunit/phpunit": "^5.6",
        "kenjis/ci-phpunit-test": "^0.12.2"
   }
[...]

But it doesn't work better, it's always my old version that's running.

Any idea please ?

How do you run phpunit? Try this on your project root directory:

$ vendor/bin/phpunit -c application/tests/
Reply


Messages In This Thread
ci-phpunit-test for CodeIgniter 3.0 - by kenjis - 05-09-2015, 11:33 PM
RE: ci-phpunit-test for CodeIgniter 3.0 - by kenjis - 10-26-2016, 04:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB