

Now, in your CLI, you can navigate into the directory you want to run your tests in. Set up an alias, so you don't have to type the whole command every time: $ alias dbusted='f() f' Pull down this widely used Docker container by running the following: $ docker pull imega/busted
INSTALL LUA FOR MAC INSTALL
Once you have Gitbash and Docker installed, you'll be able to install a busted 'container'. You may have to disable the setting, restart your computer and re-enable it after boot. If this occurs, you can follow these instructions to enable Hyper V. You may encounter an error when trying to run Docker the first time. Once you've finished installing, you can run the following command to ensure it's been installed correctly. To install this package with conda run one of the. Install Dockerįollow the instructions to install Docker for Windows. linux-ppc64le v5.4.3 linux-64 v5.4.3 linux-aarch64 v5.4.3 osx-64 v5.4.3 win-64 v5.4.3. You may have to tweak the following steps slightly if you prefer to use Windows' native CLI or another CLI.

Once done you can run your tests directly from any Windows command line: C:\> wsl busted Now you are ready to install LuaRocks and Busted by following the Ubuntu instructions above. Next, install Ubuntu from the Microsoft Store, or download then install using PowerShell: PS> curl.exe -L -o ubuntu1804.appx If this fails, you may need to use sudo: $ sudo luarocks install bustedįirst you must enable WSL (Windows Subsystem for Linux) using PowerShell (Administrator): PS> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Then install the Busted testing framework for Lua: $ luarocks install bustedįirst install Lua and Luarocks using Apt: $ sudo apt-get install lua5.3 liblua5.3-dev luarocks First install Lua and Luarocks using Homebrew: $ brew install lua luarocks
