1In order to run the tests from the command line you have to
2
3* Install lua 5.3
4* Install luarocks (see below)
5* Install busted: `luarocks install busted`
6* Install luacov: `luarocks install luacov`
7* Install lodash: `luarocks install lodash`
8
9Then go to the test folder and run the tests:
10
11```
12cd runtime/tests
13busted *
14```
15
16or if you want coverage info
17
18```
19cd runtime/tests
20busted --coverage *
21luacov
22```
23
24Then open `luacov.report.out`
25
26
27
28## luarocks 5.3 on da Pi (not completely described yet !! )
29
30* sudo apt-get install liblua5.3-dev lua5.3 luarocks
31
32* sudo luarocks install busted
33* sudo luarocks install lodash
34* sudo luarocks install luasocket