Sha256: be6e2a61d3aa8a1f083842da0b726f0dbb63faa57cf4f5fe94f76a4559ff9632
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
# Guard::Busted [![Build Status](https://travis-ci.com/pjezusek/guard-busted.svg?branch=master)](https://travis-ci.com/pjezusek/guard-busted) Guard for the unit testing framework named [busted](http://olivinelabs.com/busted/) ## Installation First you need to install busted. ```bash luarocks install --local busted ``` Then install this gem using `gem install` command. ```bash 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 pattern `spec/<relative_path_to_file>/<file_name>_spec.lua`. EXAMPLE: you have file in the project `some_dir/some_file.lua`. After some change 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. ## Contributing Don't hesistate to open an issue or make a pull request. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
guard-busted-0.1.1 | README.md |