• 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ci-phpunit-test for CodeIgniter 3.0

#61
I added a new functionality (monkey patching) which can replace constant values on `dev-master`.
See https://github.com/kenjis/ci-phpunit-tes...-constants
Reply

#62
Hi there!

I've just released ci-phpunit-test v0.12.0.

This is minor update. It includes Monkey Patching on constants.
See https://github.com/kenjis/ci-phpunit-test/releases
Reply

#63
Thanks to all users, ci-phpunit-test got more than 10,000 installs via Composer!
https://packagist.org/packages/kenjis/ci...test/stats

And today I released ci-phpunit-test v0.12.1.
This is a minor bug fix release.
See https://github.com/kenjis/ci-phpunit-test/releases
Reply

#64
I've just pushed the bug fix for Monkey Patching to the master branch.
If you use interfaces and/or abstract classes with monkey patching,
try the latest dev-master.

https://github.com/kenjis/ci-phpunit-test
Reply

#65
I fixed the bug that Monkey Patching does not work at all on Windows.
If you are using Windows, please try the latest dev-master.

https://github.com/kenjis/ci-phpunit-test
Reply

#66
Hi!

I've just released ci-phpunit-test v0.12.2.
This release fixes bugs in monkey pathing.

See https://github.com/kenjis/ci-phpunit-test/releases
Reply

#67
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 ?
Reply

#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

#69
(10-26-2016, 04:56 PM)kenjis Wrote: How do you run phpunit? Try this on your project root directory:

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

It works.
Thank you kenjis !!
Reply

#70
I added some functions in master branch:
https://github.com/kenjis/ci-phpunit-tes...t-released

Please try, if you have interest.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.