joi
Autorun your minitest tests. Supports Rails projects.
Installation
gem install joiOr add the following line to your project's Gemfile:
gem "joi"Usage
$ joi -h
Usage: joi [OPTIONS]
-b, --[no-]bundler Use bundler to run commands.
--rails Use this in Rails projects.
--debug Enable debug output.
-h, --help Prints this help.Only .rb files are watched. Changes on lib/**/*.rb and app/**/*.rb files
will run only matching test files (e.g. app/models/user.rb changes will run
test/models/user_test.rb tests). If no matching test file is found, then all
tests are executed. Any .rb file that's either created or removed file will
also trigger a full suite run.
To avoid passing --rails, you can create a .rails file at the project's root
directory.
You can use SIGINT (ctrl-c) to run all tests. To stop joi, use SIGQUIT
(ctrl-\).
Joi is even more useful if you use test_notifier.
Maintainer
Contributors
Contributing
For more details about how to contribute, please read https://github.com/fnando/joi/blob/main/CONTRIBUTING.md.
License
The gem is available as open source under the terms of the MIT License. A copy of the license can be found at https://github.com/fnando/joi/blob/main/LICENSE.md.
Code of Conduct
Everyone interacting in the joi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.