mirror of
https://github.com/kikito/middleclass.git
synced 2024-10-05 23:24:17 +00:00
added test README
This commit is contained in:
parent
d180d7a24f
commit
16ccfed92c
44
test/README.textile
Normal file
44
test/README.textile
Normal file
@ -0,0 +1,44 @@
|
||||
h1. MiddleClass tests
|
||||
|
||||
These tests have been implemented using "telescope":http://github.com/norman/telescope
|
||||
|
||||
|
||||
h2. Installation dependencies for the tests
|
||||
|
||||
First step is installing telescope. The easiest way in ubuntu is doing:
|
||||
|
||||
<pre>
|
||||
sudo apt-get install lua luarocks
|
||||
sudo luarocks build telescope --from=http://luarocks.luaforge.net/rocks-cvs/
|
||||
</pre>
|
||||
|
||||
The first command might ask about installing some dependencies; answer (y)es to that.
|
||||
|
||||
In addition to this, you will need rake.
|
||||
<pre>
|
||||
sudo apt-get install rake
|
||||
</pre>
|
||||
|
||||
Again, install any dependencies.
|
||||
|
||||
h2. Test execution
|
||||
|
||||
Open a console and change to the middleclass top-directory:
|
||||
|
||||
<pre>
|
||||
cd middleclass
|
||||
</pre>
|
||||
|
||||
Then execute @rake@. It should be configured to start the testing automatically.
|
||||
<pre>
|
||||
rake
|
||||
</pre>
|
||||
|
||||
If everything has been set up properly, you should see lost of testing being done, and, hopefully, passing.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user