Welcome Guest, Not a member yet? Register   Sign In
Unit Testing and Continuous Integration
#1

Hi,

I want to add Unit testing to my CI projects.
I have seen there is ci-phpunit-test from kenjis.

It seems nice however I came across TOAST and I quite like the 5 criteria that led to its creation:
  1.    It must be lightweight a completely unobtrusive - I don't want a lot of bloat or a ton of files littering my CI installation
  2.    It must integrate perfectly with CI - ie. no hacking the core, no intricate workarounds to make it work inside CI Controller classes, and no duplicate index.php files
  3.    It must use simple JUnit-like syntax (meaning it must support a range of assert_*() functions)
  4.    It must work entirely in the browser - I don't always have shell access to my servers, and you might not either
  5.    It must offer a simple way to run both individual tests, groups of tests, and all tests at once

I am not sure that ci-phpunit-test matches number 4.

What are your thoughts about Unit Testing ? What tools do you use ?

Going forward I want to perform continuous integration: any experiences on that ? I am thinking of using Jenkins.


Cheers,
L.
Reply


Messages In This Thread
Unit Testing and Continuous Integration - by ComputingFroggy - 07-21-2016, 07:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB