Welcome Guest, Not a member yet? Register   Sign In
SimpleTester 1.0 - CI-library for unit testing
#1

[eluser]ciscoheat[/eluser]
Merry Christmas! Here's a little gift for those who likes Unit Testing, especially the Simpletest framework. It's a very easy-to-use testing library for CI that wraps the Simpletest framework. The default installation should work immediately for most of you.

Installation instructions:
1. Download SimpleTester 1.0 here: http://codeigniter.com/wiki/SimpleTester...g_library/
2. Unzip file to the application folder.
3. Download the SimpleTest framework here: http://simpletest.org/en/download.html
4. Gunzip that file to application/libraries (a folder called "simpletest" should be created in application/libraries)
5. Add "simpletester" to autoloading libraries in config/autoload.php
6. Done! Run your application. If nothing happens, it works. Smile
7. Now you can check out the template test files in application/tests, and the SimpleTester configuration file in config. Try to change a test in a template test file to see if the installation really works. By failing a test, a big red bar should appear on the top of the page. All test files goes into "application/tests", use the template files for a quicker start. Good luck!

If you develop on a machine where PHP doesn't see the server IP as 127.0.0.1, you must change the configuration file to allow the IP your development machine has. That is about the only issue I can see right now.

Comments, improvements, anything is welcome. And remember, test before you code!


Messages In This Thread
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-23-2007, 05:23 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-25-2007, 06:24 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-25-2007, 09:36 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-26-2007, 07:07 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-26-2007, 11:25 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-12-2008, 05:19 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 03:59 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 08:27 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 08:37 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 08:47 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-27-2008, 04:15 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-27-2008, 06:02 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 03-14-2008, 09:58 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 03-18-2008, 07:55 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 05-13-2008, 10:56 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 11-23-2008, 06:19 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 11-23-2008, 11:30 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-14-2008, 01:18 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-14-2008, 03:47 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-10-2009, 01:42 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-10-2009, 02:25 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-12-2009, 08:48 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-20-2009, 03:56 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-23-2009, 11:16 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 03-21-2009, 08:04 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 05-10-2009, 01:56 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 06-06-2010, 11:49 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 06-30-2010, 07:50 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 07-26-2010, 10:38 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 08-01-2010, 11:58 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 08-01-2010, 12:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB