CodeIgniter Forums
ci-phpunit-test for CodeIgniter 3.0 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: ci-phpunit-test for CodeIgniter 3.0 (/showthread.php?tid=61725)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 07-31-2015

I'm developing monkey patching functionality more.

* Patching Functions
* Patching Methods in User-defined Classes

They work in dev-master code.

If you are interested in that functionality, please try `dev-master`. Feedback is welcome.

Here is documentation.
https://github.com/kenjis/ci-phpunit-test/blob/master/docs/HowToWriteTests.md#monkey-patching


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 08-04-2015

I changed specifications in Function Patching on `dev-master`.

See
https://github.com/kenjis/ci-phpunit-test/blob/master/docs/HowToWriteTests.md#monkey-patching
https://github.com/kenjis/ci-phpunit-test/blob/master/docs/HowToWriteTests.md#patching-functions

If there is no problem, I will release as v0.6.0.


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 08-11-2015

v0.6.1 was released! (v0.6.0 was canceled because of trivial documentation mistakes)

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

This version has two new monkey patchers:
* Patching Functions
* Patching Methods in User-defined Classes

And added `$this->resetInstance()` method for better model testing.


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 08-12-2015

v0.6.2 bug fix version released.
https://github.com/kenjis/ci-phpunit-test/releases


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 08-28-2015

Hi, I added docs for testing with CodeIgniter Rest Server.
https://github.com/kenjis/ci-phpunit-test/blob/master/docs/HowToWriteTests.md#codeigniter-rest-server

Unfortunately, we have to change the code of REST_Controller.php.


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 09-01-2015

Some features added, a few bugs fixed in master branch.
https://github.com/kenjis/ci-phpunit-test/blob/master/docs/ChangeLog.md#v070-not-released

If you try to test your REST controllers, please test lastest master branch.


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 09-03-2015

I improved documentation for v0.7.0 (Not Released)
https://github.com/kenjis/ci-phpunit-test/blob/master/docs/HowToWriteTests.md

Any comments are welcome.


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 09-09-2015

v0.7.0 was released!

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

Now you can write tests for REST controllers more easily.


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 09-27-2015

v0.8.0 was released!

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

Mainly bug fixes.


RE: CI PHPUnit Test for CodeIgniter 3.0 - kenjis - 09-29-2015

I've fixed the bug when you have 404_override, the controller is called in the Bootstrap.

https://github.com/kenjis/ci-phpunit-test/pull/63

I'm going to release v0.8.1 bug fix version soon.