Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nrigaudiere/musicalocaliser
Web Application created using CodeIgniter
https://github.com/nrigaudiere/musicalocaliser
Last synced: 23 days ago
JSON representation
Web Application created using CodeIgniter
- Host: GitHub
- URL: https://github.com/nrigaudiere/musicalocaliser
- Owner: nrigaudiere
- License: other
- Created: 2013-10-18T11:53:41.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-20T08:16:08.000Z (about 11 years ago)
- Last Synced: 2023-08-05T20:51:22.492Z (over 1 year ago)
- Language: PHP
- Size: 4.71 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# CodeIgniter with SimpleTest
Updates:
The CodeIgniter core is now being converted to using phpUnit so I'm using simpletest as a stopgap measure.
In additon to the origional version I've added the ability to output the test results in Junit format for use in continuous integration systems based on work from
## Overview
This has been adopted from:
[jamieonsoftware](http://jamieonsoftware.com/blog/entry/setting-up-the-perfect-codeigniter-tdd-environment "CodeIgniter TDD")With help from:
John S. -Design From:
Istvan Pusztai -## Installation
The unit_test.php file should go in your CodeIgniter root. The same place as index.php
You should open that file and alter your paths at the top.
The tests directory can be moved any where you want but they are setup to be in the root as well.
All test files need to be named `test_name_folder.php`. For example:
test_whatever_bug.php
test_string_helper.php
test_auth_library.php
test_core_model.phpI have included a full download of simpletest and the only customization I have made is to the `simpletest/extensions/my_reporter.php`.
## Usage:
Once you have installed you can either run tests through the browser or via command line.
* Browser - Visit yoursite.com/unit_test.php
* Command Link - `$ php unit_test.php`
* XML Results - `$ php unit_test_xml.php`## NOTES:
Inside the "tests" directory I include two example test files. The test_users_model.php will not run on its own because your application would not include the same users model as the example file. It is supplied just as a guide.
This version is now compatible with PHP 5.3
## Credits
* Joe Tsui -
* Jamie Rumbelow - [jamieonsoftware](http://jamieonsoftware.com/blog/entry/setting-up-the-perfect-codeigniter-tdd-environment "CodeIgniter TDD")
* RT Wolf -
* John S. -
* Istvan Pusztai -
* Oliver Smith