Sha256: 18d47af0eae40b21422b70a9b142d6c668420ed01653a915b54c8ac4900c2b40
Contents?: true
Size: 1.18 KB
Versions: 61
Compression:
Stored size: 1.18 KB
Contents
### Getting started #### MacOS First install Lua and [Luarocks][2] using [Homebrew][1]: ```shell $ brew install lua ``` Then install the [Busted][3] testing framework for Lua: ```shell $ luarocks install busted ``` Then run your tests: ```shell $ busted . ``` #### Ubuntu First install Lua and [Luarocks][2] using [Apt][6]: ```shell $ sudo apt-get install lua5.3 luarocks ``` Then install the [Busted][3] testing framework for Lua: ```shell $ luarocks install busted ``` If this fails, you may need to use `sudo`: ```shell $ sudo luarocks install busted ``` Then run your tests: ```shell $ busted . ``` #### Windows First install Lua and [Luarocks][2] using [Chocolatey][7]: ``` C:\> choco install lua ``` Then install the [Busted][3] testing framework for Lua: ``` C:\> luarocks install busted ``` Then run your tests: ``` C:\> busted . ``` #### Other resources 1. [Lua Style Guide][4] 2. [Learn Lua in 15 minutes][5] [1]: http://brew.sh/ [2]: http://luarocks.org/ [3]: http://olivinelabs.com/busted/ [4]: https://github.com/Olivine-Labs/lua-style-guide [5]: http://tylerneylon.com/a/learn-lua/ [6]: https://help.ubuntu.com/lts/serverguide/apt.html [7]: http://chocolatey.org/
Version data entries
61 entries across 61 versions & 1 rubygems