bayleedev / BetterTestingWithLithium

An example of how to tests all aspects of lithium.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better Unit Testing with Lithium

To read the article on how to improve your lithium tests click the link below.

http://www.blainesch.com/438/better-unit-testing-in-lithium/

Installing

git clone git@github.com:BlaineSch/BetterTestingWithLithium.git
cd BetterTestingWithLithium && git submodule update --init

Running the tests

Through your browser

Assuming you installed this in your localhost directory, just go to "/test"

http://localhost/test

Via the command line

cd app
../libraries/lithium/console/li3 test tests

Output:

----
Test
----

...

OK

3 / 3 passes
0 fails and 0 exceptions

About

An example of how to tests all aspects of lithium.


Languages

Language:PHP 100.0%