0.0
No release in over a year
Guard::Busted automatically run your specs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Guard::Busted

Rubocop RSpec codecov Gem Version

Guard for the unit testing framework named busted

Installation

First you need to install busted.

luarocks install --local busted

Then install this gem using gem install command.

gem install guard-busted

Usage

Just type guard init busted in the root of your project. This command initializes the Guard file.

The provided guard template checks all files with .lua extension and starts the corresponding test file. It searches test files in spec directory with the pattern spec/<relative_path_to_file>/<file_name>_spec.lua.

EXAMPLE:
There is some file in the project some_dir/some_file.lua. After some change on this file the guard-busted gem will try to perform tests located in: spec/some_dir/some_file_spec.lua.

WARNING!:
Keep in your mind that it treats src dir in the special way. It just does not include src in the mentioned pattern.

The gem also supports desktop notifications.

Contributing

Don't hesitate to open an issue or make a pull request.

License

The gem is available as open source under the terms of the MIT License.